项目地址SWBT框架https://github.com/chenbo29/orange目的基于Swoole和beanstalkd,实现多进程处理消息队列。installcomposerrequireywna/swbtinitializationvendor/bin/SWBTinit执行初始化命令后会自动生成swbt文件夹。swbt├──配置│└──SWBT.php├──.env└──存储├──日志│├──2018-06-12.log│└──2018-06-19.log└──master.pidSWBT.php文件用于配置消息队列管道及其处理类。env项目配置文件的logs文件夹是deamon模式下产生的日志内容。master.pid是运行时的进程PID信息。查看beanstalkd的状态信息的命令vendor/bin/SWBTstatus查看beanstalkd的job信息vendor/bin/SWBTstatus-jobstart(deamon)vendor/bin/SWBTstartstartvendor/bin/SWBTrunstopvendor/bin/SWBTstoprestartvendor/bin/SWBTrestart当其他子进程异常退出时,会自动重启。文章内容正在更新中
