SWBT框架 https://github.com/YWNA/SWBTphp
基於Swoole和beanstalkd實現多進程處理消息隊列。git
composer require ywna/swbt
vendor/bin/SWBT init
執行初始化命令後將會自動生成swbt文件夾。github
swbt ├── config │ └── SWBT.php ├── .env └── storage ├── logs │ ├── 2018-06-12.log │ └── 2018-06-19.log └── master.pid
查看beanstalkd的狀態信息composer
vendor/bin/SWBT status
查看beanstalkd的job信息框架
vendor/bin/SWBT status-job
啓動(deamon)ui
vendor/bin/SWBT start
啓動rest
vendor/bin/SWBT run
中止日誌
vendor/bin/SWBT stop
重啓code
vendor/bin/SWBT restart
文章內容更新中隊列