BenchmarkMagento 2

Magento 2 HTTP/2 Benchmarks

We took LiteSpeed Web Server, nginx, and Apache, paired them with caching solutions, and tested how their HTTP/2 implementations compared when loading a Magento 2 shop with sample data. LiteSpeed Web Server with LiteMage Cache was up to 3 times faster than nginx with Varnish, and 4 times faster than Apache with Varnish.

Key results

At A Glance

HTTP/2 Test Results

LiteSpeed Web Server performs 3X faster than Nginx and 4X faster than Apache when loading Magento.

HTTP 1.1 Test Results

LiteSpeed Web Server performs 4X faster than Nginx and 2X faster than Apache when loading Magento.

Published benchmark · interactive view

HTTP/2 Test Results

Choose a metric to compare the results.

HIGHEST RESULT9273.2LiteSpeed
Requests / Sec0 — 9273.2
LiteSpeed
9273.2
Nginx
3337.1
Apache
2429.7
2.8× vs Nginx on this metricView source and methodology ↗
ServerRequests / SecMB / SecFailuresHeader Compression
LiteSpeed9273.2114.93096.43%
Nginx3337.142.69020.56%
Apache2429.730.47096.22%
Published benchmark · interactive view

HTTP 1.1 Test Results

Choose a metric to compare the results.

HIGHEST RESULT7638.61LiteSpeed
Requests / Sec0 — 7638.61
LiteSpeed
7638.61
Nginx
2105.46
Apache
3214.72
3.6× vs Nginx on this metricView source and methodology ↗
ServerRequests / SecMB / SecFailuresHeader Compression
LiteSpeed7638.6198.06N/AN/A
Nginx2105.4627.34N/AN/A
Apache3214.7241.64N/AN/A
Methodology

Test Environment

Figures as published by LiteSpeed Technologies. Results depend on hardware, configuration and workload — test with your own application for the most relevant numbers.

  • Softwares Tested: LiteSpeed Web Server v5.4.1 LiteSpeed cache: LiteMage 2.1.3 Magento v2.3.2 nginx v1.16.1 Apache v2.4.41 Varnish 5.2.1
  • Setup: LiteSpeed: LiteSpeed Web Server LiteMage nginx: nginx (front proxy for HTTPS termination) Varnish nginx Apache: nginx (front proxy for HTTPS termination) Varnish Apache
  • Client Machine: Memory Size: 2GB CPU number: 1 CPU Threads: 1 CPU Model: Virtual CPU 6db7dc0e7704 Disk: NVMe SSD
  • Server Machine: Memory Size: 2GB CPU number: 1 CPU Threads: 1 CPU Model: Virtual CPU 6db7dc0e7704 Disk: NVMe SSD
  • Network: Traffic: 8.77 Gbits/sec Latency: 0.377 ms
Ready when you are

Switch to LiteSpeed
in minutes.

Choose your edition, activate over SSH, and start serving faster. Transparent pricing, no setup fees, engineers on call 24/7.

Instant delivery15-day trialFree migrationSupport 24/7