Compare Static File Response Time for LiteSpeed and Apache https://litespeedtech.com/images/logos/litespeed/litespeed-logo.png 2019-10-02 20:21:54 Comparing web server response time to requests for small static files: LiteSpeed Web Server vs. Apache

Small Static File Benchmark

Comparing web server response time to requests for small static files


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 Apache
    10 No 4.4x
    Yes 8.5x
    100 No 4.0x
    Yes 6.0x
  • LSWS HTTPS Performance Gain

    Concurrent Users Keep-Alive Apache
    10 No 5.5x
    Yes 2.0x
    100 No 5.5x
    Yes 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
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 internet
[

Accelerate Your Internet Now!

]