Small Static File Benchmark


This benchmark compares the speed at which different web servers deliver small static files using both non-keep-alive and keep-alive connections both on regular HTTP and HTTPS.

Summary

LSWS HTTP Performance Gain
Concurrent Users Keep-Alive Nginx Apache
10 No 1.5x 4.4x
Yes 2.2x 8.5x
100 No 1.3x 4.0x
Yes 1.8x 6.0x
LSWS HTTPS Performance Gain
Concurrent Users Keep-Alive Nginx Apache
10 No 1.9x 5.5x
Yes 1.4x 2.0x
100 No 1.9x 5.5x
Yes 1.3x 2.4x

Notes:
  • The static file was 4.0K in size. We used such a small file to avoid saturating the network connection.
  • The test was performed over a 10Gbps network connection to make sure network bandwidth did not become a bottleneck.
  • The benchmark simulated serving 10000 requests to 10 and 100 users.

Test Environment

Software:

LiteSpeed Enterprise 5.1.13
Nginx 1.10.3
Apache 2.4.25
PHP 7.1.2
cPanel 62

Server hardware specs:

Intel Xeon X5660 Single Core @ 2.80GHz
2GB RAM
50GB HDD
CloudLinux 7.3

Client hardware specs:

Intel Xeon E5-1620 Dual Core @ 3.60GHz
2GB RAM CentOS 6.8 with OpenVZ kernel 2.6.32-042stab116.1
Intel X540 10GBASE-T on board NIC

Network Switch:

Netgear XS708E-100NES 8-ports 10G switch

We welcome your feedback on our forum.

Accelerate your internet now.