amphp / http-server

An advanced async HTTP server library for PHP, perfect for real-time apps and APIs with high concurrency demands.
https://amphp.org/http-server
MIT License
1.29k stars 101 forks source link

Can I create multiple worker processes to handle requests? #358

Closed LTaooo closed 1 year ago

praswicaksono commented 1 year ago

I dont think it not supported for now, but you can run multiple amphp process with different port and put behind nginx as load balancer

kelunik commented 1 year ago

Yes, you can use https://github.com/amphp/cluster, but seems like we didn't even tag a beta there, yet.

LTaooo commented 1 year ago

thank you all