HTTP/2 HTTPS Benchmarking Litespeed vs Nginx - make use of your idle servers
Thought this would be of interesting for all the folks here with idle servers doing nothing Came across WHT thread at https://www.webhostingtalk.com/showthread.php?t=1775139 which asked whether HTTP/2 HTTPS benchmarks posted at https://http2benchmark.org/ are real and I chimed in on that thread with my thoughts.
- They created a Github repo suite with all scripts to install both client and server side applications used for benchmarking including litespeed and nginx. I only tested on CentOS 7 but they support Ubuntu too. Repo at https://github.com/http2benchmark/http2benchmark
- I wasn't happy with the test parameters and configurations tested for Litespeed vs Nginx. They're testing a slight more optimised Litespeed 5.4 configuration that one used by Litespeed 5.4 install out of the box versus nginx.org repo stable Nginx 1.16 with normal defaults which aren't optimal and miss some key performance related options. Also there's no TCP/Kernel optimisations on either server/client servers out of the box.
- So I forked their repo and extended their script/suite at https://github.com/centminmod/http2benchmark/tree/extended-tests - the added stuff is explained on the extended-test branch readme.
- Server to Client tests maybe restrained by the network connectivity of your VPS i.e. 250Mbits to 1Gbits compared if you have 40+ Gbps pipe to test with.
So benchmark away folks ! ^_^