Replies: 2 comments 1 reply
-
There is already in a load balancing built-in. |
Beta Was this translation helpful? Give feedback.
-
PHP-PM spawns new PHP processes using userspace proc_open, and then communicates with them over php_streams in userspace. This means that if a spawned process needs to be restarted that it's whole state needs to be reinitialized, not just PHP code, but the whole PHP VM as well as any persistent resources. |
Beta Was this translation helpful? Give feedback.
-
PHP-PM claims to have built-in LoadBalancer.
See:
https://github.com/php-pm/php-pm
Can we make something similar with Swoole ?
Beta Was this translation helpful? Give feedback.
All reactions