In the case of nginx, the application scenarios in which swoole_http_server exists

recently when learning swoole saw swoole_http_server, he said that it needs to be used in conjunction with nginx.

then there are both nginx and apache. Why do you still use swoole_http_server? what is the application scenario?

May.01,2021

I took a passage from the document for you: by using the apache bench tool for stress testing, the swoole_http_server can reach nearly 110000 QPS on an ordinary PC machine with Inter Core-I5 4 cores and 8 gigabytes of memory. Far more than php-fpm

as mentioned above, martial arts in the world are fast but not broken.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1be0015-314e1.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1be0015-314e1.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?