Drupal 9 Performance Benchmark https://download.litespeedtech.com/images/logos/litespeed/litespeed-logo.png 2023-10-03 20:31:56 Drupal 9 Performance Benchmark from LiteSpeed Technologies

Drupal 9 Gets 8X Boost from LiteSpeed Cache!

Drupal 9 sites perform more than 8X faster with LiteSpeed Web Server + LSCache than with nginx + Fast CGI.

We compared LiteSpeed Web Server + LSCache for Drupal, OpenLiteSpeed + LSCache for Drupal, and nginx + FastCGI. LiteSpeed Web Server, when paired with the LiteSpeed Cache module for Drupal, loads a Drupal and Umami 9.0.7 theme demo site up to 1.6 times faster than OpenLiteSpeed and up to 8.7 times faster than nginx!

We followed the methodology found at http2benchmark.org, meaning our results are verifiable and repeatable.


Summary

HTTP/2 Test Results

h2load -n 100000 -c 100 -t 1 -T 5 -m 10 -H 'Accept-Encoding: gzip,deflate' https://benchmark.com/drupal/
Server Requests / Sec MB / Sec Failures Header Compression
LiteSpeed 23971.35 189.78 0 95.94%
OpenLiteSpeed 15162.29 122.31 0 96.90%
nginx 2753.72 22.96 0 20.33%

LiteSpeed Web Server's HTTP/2 implementation outperforms nginx by 8.7X, and OpenLiteSpeed by 1.6X when loading Drupal 9.

HTTP 1.1 Test Results

wrk -c 100 -t 1 -d 5s -H 'Accept-Encoding: gzip,deflate' https://benchmark.com/drupal/
Server Requests / Sec MB / Sec Failures Header Compression
LiteSpeed 14313.67 120.71 N/A N/A
OpenLiteSpeed 9588.93 83.54 N/A N/A
nginx 2602.16 24.59 N/A N/A

LiteSpeed Web Server performs 5.5X faster than nginx and 1.5X faster than OpenLiteSpeed when loading Drupal 9 via HTTP/1.1.


Test Environment

  • Softwares Tested:

    • LiteSpeed Web Server v5.4.10
    • LiteSpeed cache: LiteSpeed Cache for Drupal
    • Drupal Version 9.0.7
    • OpenLiteSpeed v1.6.17
    • nginx v1.18.0
    • nginx FastCGI Cache
  • Setup:

    • LiteSpeed: LiteSpeed Web Server LiteSpeed Cache for Drupal
    • OpenLiteSpeed: LiteSpeed Open Source Web Server LiteSpeed Cache for Drupal
    • nginx: nginx FastCGI nginx
  • Client Machine:

    • Memory Size: 1GB
    • CPU number: 1
    • CPU Threads: 1
    • CPU Model: Intel Core Processor (Skylake, IBRS)
    • Disk: NVMe SSD
  • Server Machine:

    • Memory Size: 1GB
    • CPU number: 1
    • CPU Threads: 1
    • CPU Model: Intel Core Processor (Skylake, IBRS)
    • Disk: NVMe SSD
  • Network:

    • Traffic: 5.88 Gbits/sec
    • Latency: 0.241 ms