LSCache For Joomla Benchmark

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

Benchmark Overview

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

HTTP/2 Test Results

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.

HTTP 1.1 Test Results

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

Softwares 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.

JOIN OUR FORUM