We compared the speed at which different web servers and caching platforms respond to requests for WordPress pages on a cPanel setup, using both non-keep-alive and keep-alive connections.
Our test platforms included
- LiteSpeed Enterprise (LSWS) using the popular W3 Total Cache and WPRocket WordPress cache plugins, as well as with our LiteSpeed Cache Plugin for WordPress.
- Apache using the W3 Total Cache and WPRocket WordPress cache plugins.
Our results showed Apache (with keep-alive enabled) peaking around 1,300 and 700 requests per second with W3TC and WPRocket, respectively.
With the exact same setup, LSWS with W3TC and WPRocket delivered around 4,800 requests per second, an improvement factor of over 2.6x or 6x respectively.
Using the LiteSpeed Cahe Plugin for WordPress with LSWS easily handled close to 5,200 requests per second.
|Concurrent Users||Keep-Alive||Apache / W3TC||Apache / WPRocket||LSWS / W3TC||LSWS / WPRocket|
- Default configurations were used when possible.
- Rewrite rule caching was used for W3TC and WPRocket to ensure maximum peformance.
- The test was performed over a 10GBps network connection to make sure network bandwidth did not become a bottleneck.
- The benchmark simulated serving 10,000 requests to 10 and 100 users.
LiteSpeed Enterprise 5.1.13 Apache 2.4.25 PHP 7.1.2 cPanel 62 WPRocket 220.127.116.11 W3TC 0.9.5.2 LSCache WordPress 18.104.22.168
Server hardware specs:
Intel Xeon X5660 Single Core @ 2.80GHz 2GB RAM 50GB HDD CloudLinux 7.3
Client hardware specs:
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
We welcome your feedback on our forum.