Joomla Benchmark

Joomla Benchmark

OpenLiteSpeed + LSCache vs. Apache + System Cache

We put our new LSCache extension for Joomla to the test, comparing OpenLiteSpeed and LSCache to Apache and System Cache. Our testing consisted of burst tests simulating 10,000 requests over 100 concurrent users.

The following chart shows how many requests per second the two servers and cache solutions processed during our series of tests. The larger the number, the better.

Benchmark
OpenLiteSpeed + LSCache 22797 Requests Per Second
Apache + System Cache 421 Requests Per Second

As you can see, OpenLiteSpeed + LSCache outperforms Apache + System Cache.

This is the command we used in all tests: ab -n 10000 -k -H "Accept-Encoding: gzip,deflate" -c 100 example.com/path

Each test was run five times, and the average result was used for our graphs.

Test Environment

Common Settings For Both Servers
  • Keep-Alive
  • gzip
  • OPCache
  • PHP use socket
  • PHP version 7.1.2
Additional OpenLiteSpeed Settings
  • Number of Workers: 4
  • PHP_LSAPI_CHILDREN = 20
  • LSAPI_AVOID_FORK = 1
Software

OpenLiteSpeedApache
Web Serverv1.4.28v2.4.6
Server APILSAPI v6.11Apache 2.0 Handler
CacheLSCache for JoomlaJoomla system – page cache

Server Hardware Specs

Both Client and Server Specs:

  • Intel Xeon CPU E7- 4870 4 Core @ 2.40GHz
  • 4GB RAM
  • 120GB ZFS RAID-Z2 iSCSI Drive
  • CentOS 7

Although we didn’t use one for our benchmarks, We recommend Solid State Drives (SSD) in production environments.