LiteSpeed Web Server vs. nginx
We put both servers head-to-head in a variety of verifiable public benchmark comparisons using HTTP/2. Across the board, LiteSpeed Web Server's implementation is faster than nginx.
Small Image File
h2load -n 100000 -c 100 -m 10 -H "Accept-encoding: gzip" https://10.10.30.98:443/1k.jpg
LiteSpeed Web Server is 4X FASTER than Nginx
Small HTML File
h2load -n 100000 -c 100 -m 10 -H "Accept-encoding: gzip" https://10.10.30.98:443/1k.html
LiteSpeed Web Server is 10X FASTER than Nginx
500K Media File
h2load -n 10000 -c 10 -t 1 -m 1 -H "Accept-encoding: gzip" https://10.10.30.98:443/test500k.dat
LiteSpeed Web Server is 1.55X FASTER than Nginx
WordPress Home Page
LiteSpeed WebServer 5.4 + LScache vs Nginx + FCGI cache
LiteSpeed Web Server is 10X FASTER than Nginx
Verify Our Results
The http2benchmark project is an open-source project hosted on GitHub, which enables you to easily run HTTP/2 benchmarks on your own server.
Do it Yourself
- What you need: Two 1GB Digital Ocean droplets
- How long it takes: Less than one hour
- What it costs: Less than $0.02
About LiteSpeed's HTTP/2 Implementation
HTTP/2 performance is a crucial metric for any modern web server. LiteSpeed takes HTTP/2 performance seriously with improvements such as:
- Direct handling of dynamic TLS record enables higher SSL throughput with lower TTFB.
- HTTP/2 stream priority done right!
- SSL Handshake Offloading and Certificate Compression.
- And much more!