Machine: Ubuntu 18.04, 4GB RAM
I compared with Nginx but seems something wrong with OpenLiteSpeed because it supposed to be 3~4 times faster than Nginx. (OpenLiteSpeed is out of the box, only changing port).
Below the the benchmark:
nginx/1.14.0 (Ubuntu x8664 18.04) PHP7.4 info.php
ab -n 1000 -c 1 http://local.dev/info.php
Requests per second: 10775.86 [#/sec] (mean)
Requests per second: 11282.99 [#/sec] (mean)
Requests per second: 10285.00 [#/sec] (mean)
ab -n 1000 -c 10 http://local.dev/info.php
Requests per second: 23613.87 [#/sec] (mean)
Requests per second: 23837.90 [#/sec] (mean)
Requests per second: 23097.89 [#/sec] (mean)
ab -n 1000 -c 100 http://local.dev/info.php
Requests per second: 23944.07 [#/sec] (mean)
Requests per second: 23462.61 [#/sec] (mean)
Requests per second: 23750.71 [#/sec] (mean)
ab -n 1000 -c 250 http://local.dev/info.php
Requests per second: 20116.68 [#/sec] (mean)
Requests per second: 20975.35 [#/sec] (mean)
Requests per second: 20779.22 [#/sec] (mean)
OLS (Ubuntu x8664 18.04) PHP7.4 info.php
ab -n 1000 -c 1 http://0.0.0.0/phpinfo.php
Requests per second: 569.16 [#/sec] (mean)
Requests per second: 580.37 [#/sec] (mean)
Requests per second: 575.09 [#/sec] (mean)
ab -n 1000 -c 10 http://0.0.0.0/phpinfo.php
Requests per second: 1356.46 [#/sec] (mean)
Requests per second: 1665.23 [#/sec] (mean)
Requests per second: 1543.01 [#/sec] (mean)
ab -n 1000 -c 100 http://0.0.0.0/phpinfo.php
Requests per second: 1786.71 [#/sec] (mean)
Requests per second: 1832.72 [#/sec] (mean)
Requests per second: 1731.29 [#/sec] (mean)
ab -n 1000 -c 250 http://0.0.0.0/phpinfo.php
Requests per second: 1728.48 [#/sec] (mean)
Requests per second: 1571.86 [#/sec] (mean)
Requests per second: 1714.47 [#/sec] (mean)
nginx/1.14.0 (Ubuntu x8664 18.04) html.html “Hello world!”
ab -n 1000 -c 1 http://local.dev/html.html
Requests per second: 11272.81 [#/sec] (mean)
Requests per second: 10940.92 [#/sec] (mean)
Requests per second: 11689.48 [#/sec] (mean)
ab -n 1000 -c 10 http://local.dev/html.html
Requests per second: 24925.22 [#/sec] (mean)
Requests per second: 24187.89 [#/sec] (mean)
Requests per second: 24729.83 [#/sec] (mean)
ab -n 1000 -c 100 http://local.dev/html.html
Requests per second: 23896.58 [#/sec] (mean)
Requests per second: 21445.42 [#/sec] (mean)
Requests per second: 23656.88 [#/sec] (mean)
ab -n 1000 -c 250 http://local.dev/html.html
Requests per second: 22694.26 [#/sec] (mean)
Requests per second: 21577.30 [#/sec] (mean)
Requests per second: 22050.23 [#/sec] (mean)
ab -n 1000 -c 500 http://local.dev/html.html
Requests per second: 19182.44 [#/sec] (mean)
Requests per second: 20935.39 [#/sec] (mean)
Requests per second: 18971.73 [#/sec] (mean)
OLS (Ubuntu x8664 18.04) html.html “Hello world!”
ab -n 1000 -c 1 http://0.0.0.0/html.html
Requests per second: 12582.10 [#/sec] (mean)
Requests per second: 12775.96 [#/sec] (mean)
Requests per second: 12595.89 [#/sec] (mean)
ab -n 1000 -c 10 http://0.0.0.0/html.html
Requests per second: 24442.71 [#/sec] (mean)
Requests per second: 24710.27 [#/sec] (mean)
Requests per second: 24424.20 [#/sec] (mean)
ab -n 1000 -c 100 http://0.0.0.0/html.html
Requests per second: 25598.36 [#/sec] (mean)
Requests per second: 24235.96 [#/sec] (mean)
Requests per second: 25628.54 [#/sec] (mean)
ab -n 1000 -c 250 http://0.0.0.0/html.html
Requests per second: 21003.99 [#/sec] (mean)
Requests per second: 21409.61 [#/sec] (mean)
Requests per second: 21606.21 [#/sec] (mean)
ab -n 1000 -c 500 http://0.0.0.0/html.html
Requests per second: 17194.83 [#/sec] (mean)
Requests per second: 17413.72 [#/sec] (mean)
Requests per second: 17246.14 [#/sec] (mean)
Am I missed something?