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.
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.
Common Settings For Both Servers
- PHP use socket
- PHP version 7.1.2
Additional OpenLiteSpeed Settings
- Number of Workers: 4
- PHP_LSAPI_CHILDREN = 20
- LSAPI_AVOID_FORK = 1
|Server API||LSAPI v6.11||Apache 2.0 Handler|
|Cache||LSCache for Joomla||Joomla system – page cache|
Server Hardware 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.