Compare HTTP/2 Performance LiteSpeed vs. nginx https://www.litespeedtech.com/images/logos/litespeed/litespeed-logo.png 2019-08-15 13:32:22 In independently verifiable testing, with an open-source benchmark script, running on a public cloud, LiteSpeed outperforms nginx by more than 2X, up to 10X!

LiteSpeed Beats nginx by 2-10X in HTTP/2 Performance

In independently verifiable testing, with an open-source benchmark script,
running on a public cloud, LiteSpeed outperforms nginx by more than 2X, up to 10X!

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

Test Command
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

Test Command
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

Test Command
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

Test Setup

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!