Open
Description
Poor performance in a complex PHP file.
PHP-fpm: 80qps
Nginx +unit or Unit:60
A simple PHP file, unit is more quickly than php-fpm, but a complex PHP file is more worse than php-fpm.
A complex PHP: include socket, write file many requried php file,json transfer, db,redis,report ...
Maybe we need to replace more native I/O functions of PHP, using coroutine.
here is a project php-coroutine-engine, but this project is not longer updated.