Benchmarking LSCache for Joomla

We put our new LSCache extension for Joomla to the test, comparing OpenLiteSpeed and LSCache to Apache and Joomla System Page Cache. These are the results.

Our testing consisted of burst tests simulating 10,000 requests over 100 concurrent users.

The Results

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.

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

Try it Yourself

In the interest of transparency, we’re including the specs of our configuration and test environment below. Feel free to run the same benchmarks yourself and verify our results.

This is the command we used in all tests (Replace example.com/path with the location of your test subjects):

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.

Web Server Configuration

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

Test Environment

Software

Web Server version:

  • OLS: v1.4.28
  • Apache: v2.4.6

Server API version:

  • OLS: LSAPI v6.11
  • Apache: Apache 2.0 Handler

Cache version:

Hardware

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.

Try LSCache for Joomla today, and tell us what you think!


Tags:
Categories:Benchmarks , LSCache

Related Posts


Comments