Benchmarkvs Varnish

Varnish Comparison Benchmark

We compared the speed at which Varnish and LSCache deliver cached content. We ran tests with small dynamic and static files, and tested with and without keep-alive.

Key results

At A Glance

Serving Static Content - hello.html

LSCache typically outperforms Varnish by a factor of 2.

Published benchmark · interactive view

LSCache Performance Gain (Dynamic Content)

Choose a metric to compare the results.

HIGHEST RESULT2.3x10 · No
vs Apache / Varnish0 — 2.3x
10 · No
2.3x
10 · Yes
2.1x
100 · No
1.8x
100 · Yes
1.6x
Values reflect the original test setup.View source and methodology ↗
Concurrent usersKeep-alivevs Apache / Varnish
10No2.3x
10Yes2.1x
100No1.8x
100Yes1.6x
Published benchmark · interactive view

LSCache Performance Gain (Static Content)

Choose a metric to compare the results.

HIGHEST RESULT3.0x10 · Yes
vs Apache / Varnish0 — 3.0x
10 · No
2.6x
10 · Yes
3.0x
100 · No
1.8x
100 · Yes
2.2x
Values reflect the original test setup.View source and methodology ↗
Concurrent usersKeep-alivevs Apache / Varnish
10No2.6x
10Yes3.0x
100No1.8x
100Yes2.2x
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.

  • LiteSpeed Enterprise 5.1.13 Apache 2.4.25 PHP 7.1.2 Varnish 4.1.5 cPanel 62
  • Intel Xeon X5660 Single Core @ 2.80GHz 2GB RAM 50GB HDD CloudLinux 7.3
  • 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
  • Netgear XS708E-100NES 8-ports 10G switch
  • Both static and dynamic files were 4.0K in size. We used such a small files 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.
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