Download the PHP package xingwenge/multi-process without Composer
On this page you can find all versions of the php package xingwenge/multi-process. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download xingwenge/multi-process
More information about xingwenge/multi-process
Files in xingwenge/multi-process
Download xingwenge/multi-process
More information about xingwenge/multi-process
Files in xingwenge/multi-process
Please rate this library. Is it a good library?
Informations about the package multi-process
multi-process
基于swoole实现的多进程管理器,类似于supervisor.
为什么要写multi-process
php环境不用搭建其他多进程管理器
能够基于php的环境实现多进程管理,而不另外搭建其他多进程管理服务
php长进程存在的风险
基于php实现的长进程脚本,大部分业务是基于I/O的消息阻塞。
长时间运行的程序存在隐患
- 程序不当或者扩展带来的内存泄漏,长时间运行会导致内存溢出
- php程序依赖的服务代码有更新,业务功能不能及时更新
长进程程序能自重启能有效解决上述风险
引入使用
or
运行demo
依赖
- swoole
示例程序
配置文件
启动
平滑结束
停止
通过进程管理器创建的进程,阻塞拉取redis队列,并显示消息
All versions of multi-process with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.1
ext-swoole Version >=4.3.2
monolog/monolog Version ^1.0.0
php-di/php-di Version ^6.0.0
doctrine/annotations Version ^1.11.0
hassankhan/config Version ^2.0.0
symfony/yaml Version ^v3.4.0
ext-swoole Version >=4.3.2
monolog/monolog Version ^1.0.0
php-di/php-di Version ^6.0.0
doctrine/annotations Version ^1.11.0
hassankhan/config Version ^2.0.0
symfony/yaml Version ^v3.4.0
The package xingwenge/multi-process contains the following files
Loading the files please wait ....