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
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
OpenLiteSpeed | Apache | |
---|---|---|
Web Server | v1.4.28 | v2.4.6 |
Server API | LSAPI v6.11 | Apache 2.0 Handler |
Cache | LSCache for Joomla | Joomla 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.