Joomla Performance Benchmark https://www.litespeedtech.com/images/logos/litespeed/litespeed-logo.png 2019-10-07 20:44:34 Which loads Joomla! faster via HTTP/2: LiteSpeed Web Server, nginx or Apache? We ran a series of Joomla! HTTP/2 benchmarks, to compare LSWS + LSCache, nginx + System Page Cache, and Apache + System Page Cache. LiteSpeed Joomla! is considerably faster than nginx and Apache!

LiteSpeed Joomla Outperforms nginx by More than 400X!

We tested a Joomla demo site using HTTP/2. LiteSpeed left nginx and Apache in the dust!

We took a demo Joomla site and loaded up its main page (around 378KB) to test our HTTP/2 implementation against that of nginx and Apache. LiteSpeed Web Server was paired with LSCache while nginx and Apache were tested with System Page Cache. Team LiteSpeed handily declared victory by processing more than 400X as many requests as the other servers!

We followed the http2benchmark.org methodology, which means our results are easy to verify.


Summary

h2load -n 10000 -c 10 -t 1 -T 5 -m 10 -H 'Accept-Encoding: gzip,deflate' https://domain.com/joomla/
Server Requests / Sec MB / Sec Failures Header Compression
LiteSpeed 55647 233.26 0 96.6%
Nginx 130.6 0.61 0 23.59%
Apache 109.1 0.48 0 78.54%

Please note: We usually run the h2load test with -c 100, but in this case there were too many errors occurring with nginx and Apache. We reduced -c to 10 for this reason.

Joomla test shows LiteSpeed Web Server is 426X faster than Nginx and 510X faster than Apache.

wrk -c 100 -t 1 -d 5s -H 'Accept-Encoding: gzip,deflate' https://domain.com/joomla/
Server Requests / Sec MB / Sec Failures Header Compression
LiteSpeed 24754.9 114.74 N/A N/A
Nginx 122.28 0.6 N/A N/A
Apache 106.26 0.52 N/A N/A

Joomla test shows LiteSpeed Web Server is 202X faster than Nginx and 233X faster than Apache.


Test Environment

  • Servers Tested:

    • LiteSpeed Web Server v5.4.1
    • nginx v1.16.1
    • Apache v2.4.41
  • Joomla:

    • Version: 3.9.11
    • LiteSpeed Cache: LiteSpeed Cache for Joomla
    • nginx Cache: System Page Cache
    • Apache Cache: System Page Cache
    • NOTE: We ran a few tests with JotCache and Page Cache Extended (PCE), but neither one improved much on the built-in System Cache.
  • Client Machine:

    • Memory Size: 991.09MB
    • CPU number: 1
    • CPU Model: Virtual CPU 6db7dc0e7704
    • Disk: NVMe SSD
  • Server Machine:

    • Memory Size: 991.09MB
    • CPU number: 1
    • CPU Model: Virtual CPU 6db7dc0e7704
    • Disk: NVMe SSD
  • Network:

    • Traffic: 8.70 Gbits/sec
    • Latency: 0.358 ms

We welcome your feedback on our forum.