一.热更新
所有的include/require都放到onWorkerStart事件中事件中
向Swoole主进程发送SIGUSR1信号
参考:http://blog.csdn.net/maleicacid/article/details/70553566
二 yii2集成swoole
参考:http://blog.csdn.net/hevenue/article/details/68927559
现成插件
https://github.com/iPaya/yii2-swoole
https://github.com/lscgzwd/yii2-swoole
三 编码规范
参考:http://blog.csdn.net/hevenue/article/details/55667513
swoole讲解
http://www.cnblogs.com/jhzhu/p/4760552.html
http://www.cnblogs.com/52fhy/p/6931261.html