Improving DigitalOcean WordPress Droplet Performance with just One Click (With OpenLiteSpeed)!

DigitalOcean-WP-Droplet-1

LiteSpeed Technologies announces the release of a one-click script that quickly and easily supercharges your DigitalOcean Droplet’s WordPress setup. LiteSpeed’s cache performance delivers significant performance and scalability gains over the DigitalOcean default.

DigitalOcean’s default WordPress droplet relies on Apache Web Server and does not utilize a cache. We improve upon this by replacing Apache with OpenLiteSpeed Web Server and add LiteSpeed Cache for WordPress to further accelerate your WordPress site.

OpenLiteSpeed is our high-performance, lightweight, open source HTTP server that outperforms Apache Web Server by a wide margin. By working directly with OpenLiteSpeed, the LiteSpeed Cache for WordPress plugin statically caches your dynamic WordPress pages, greatly reducing page load times and server load. Additionally, the LiteSpeed Cache for WordPress plugin provides superior control and flexibility over your cache when compared to other WordPress cache plugins.

Both OpenLiteSpeed and the LiteSpeed Cache for WordPress plugin are free and open source.

When compared to the default droplet, benchmarks show that our solution offers a performance increase of 10x and even more as the load increases. When compared to a DigitalOcean 1-Click Droplet modified to include WP Super Cache, our solution still handles around 2x the requests per second at less than 1/100 of the server load.

DOWPfinal

The above graph was made using 10,000 total request results with the exception of the one concurrency case, which was graphed using the 1,000 total request results.

Larger sites with higher concurrent visitors will see the most benefit, however even small sites should see a performance boost of 3-4x.

Our benchmarks were done using ab to simulate up to 100 users hitting the WordPress home page (with its sample hello world post) at a time. They were performed on a 1GB 1 Core Droplet.

Currently our DigitalOcean WordPress script is only compatible with Ubuntu 14 based DigitalOcean 1-click WordPress Droplets. This script will install OpenLiteSpeed, lsphp56 and its components, and the LSCache for WordPress plugin for your droplet.

Simply run the script as a superuser (sudo can also be used) with the upgrade flag to quickly and easily install and set up OpenLiteSpeed with lsphp56:

bash <(curl http://www.litespeedtech.com/packages/tools/convert-dowp-to-ols.sh) upgrade

Or use the upgrade70 flag to use lsphp70.

bash <(curl http://www.litespeedtech.com/packages/tools/convert-dowp-to-ols.sh) upgrade70

This command will install OpenLiteSpeed to the /usr/local/lsws directory and use your existing WordPress installation in /var/www/html.

Increasing your DigitalOcean WordPress performance has never been easier!

For more info, check out our DOWP Droplet Upgrade wiki page.

The Raw Data

ConcurrencyTotal RequestsDefault DropletOpenLiteSpeed + LSCache for WordPressDefault Droplet with WP Super Cache
110017285177
11,00017258175
101,00020949581
1010,00020983511
201,000201053655
2010,000201046550
501,000181056617
5010,000181057592
10010,00018*1058539
100100,00020*1054651
*Concurrency 100 tests run on the default droplet were done with a total of 1,000 requests.

We also measured server load during a 100 concurrency tests with 100,000 total requests:

Server + CacheDurationServer LoadReq/Sec
OLS + LSCache for WordPress95 seconds0.35-0.41052
Default + WP Super Cache209 seconds~130480


Related Posts


Comments