{"id":6363,"date":"2016-08-10T16:49:08","date_gmt":"2016-08-10T20:49:08","guid":{"rendered":"http:\/\/blog.litespeedtech.com\/?p=6363"},"modified":"2016-08-10T16:49:08","modified_gmt":"2016-08-10T20:49:08","slug":"improving-digitalocean-wordpress-droplet-performance-with-just-one-click-with-openlitespeed","status":"publish","type":"post","link":"https:\/\/lswp.store\/index.php\/2016\/08\/10\/improving-digitalocean-wordpress-droplet-performance-with-just-one-click-with-openlitespeed\/","title":{"rendered":"Improving DigitalOcean WordPress Droplet Performance with just One Click (With OpenLiteSpeed)!"},"content":{"rendered":"<p><img fetchpriority=\"high\" decoding=\"async\" class=\"aligncenter size-full wp-image-6429\" src=\"http:\/\/blog.litespeedtech.com\/wp-content\/uploads\/2016\/08\/DigitalOcean-WP-Droplet-1.png\" alt=\"DigitalOcean-WP-Droplet-1\" width=\"650\" height=\"400\" srcset=\"https:\/\/lswp.store\/wp-content\/uploads\/2016\/08\/DigitalOcean-WP-Droplet-1.png 650w, https:\/\/lswp.store\/wp-content\/uploads\/2016\/08\/DigitalOcean-WP-Droplet-1-300x185.png 300w, https:\/\/lswp.store\/wp-content\/uploads\/2016\/08\/DigitalOcean-WP-Droplet-1-600x369.png 600w\" sizes=\"(max-width: 650px) 100vw, 650px\" \/><\/p>\n<p>LiteSpeed Technologies announces the release of a one-click script that quickly and easily supercharges your DigitalOcean Droplet\u2019s WordPress setup. LiteSpeed\u2019s cache performance delivers significant performance and scalability gains over the DigitalOcean default.<\/p>\n<p><!--more--><\/p>\n<p>DigitalOcean\u2019s default WordPress droplet relies on Apache Web Server and does not utilize a cache. We improve upon this by replacing Apache with <a href=\"http:\/\/open.litespeedtech.com\/mediawiki\/index.php\/Main_Page\">OpenLiteSpeed Web Server<\/a> and add <a href=\"https:\/\/wordpress.org\/plugins\/litespeed-cache\/\">LiteSpeed Cache for WordPress<\/a> to further accelerate your WordPress site.<\/p>\n<p>OpenLiteSpeed is our high-performance, lightweight, open source HTTP server that <a href=\"https:\/\/www.litespeedtech.com\/solutions\/benchmarks\/small-static-file-https\">outperforms Apache Web Server by a wide margin<\/a>. 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.<\/p>\n<p>Both OpenLiteSpeed and the LiteSpeed Cache for WordPress plugin are free and open source.<\/p>\n<p>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.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-6399\" src=\"http:\/\/blog.litespeedtech.com\/wp-content\/uploads\/2016\/08\/DOWPfinal.png\" alt=\"DOWPfinal\" width=\"100%\" srcset=\"https:\/\/lswp.store\/wp-content\/uploads\/2016\/08\/DOWPfinal.png 922w, https:\/\/lswp.store\/wp-content\/uploads\/2016\/08\/DOWPfinal-300x175.png 300w, https:\/\/lswp.store\/wp-content\/uploads\/2016\/08\/DOWPfinal-768x448.png 768w, https:\/\/lswp.store\/wp-content\/uploads\/2016\/08\/DOWPfinal-600x350.png 600w\" sizes=\"(max-width: 922px) 100vw, 922px\" \/><\/p>\n<div style=\"text-align: center; margin-top: -13px;\"><em>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.<\/em><\/div>\n<p>Larger sites with higher concurrent visitors will see the most benefit, however even small sites should see a performance boost of 3-4x.<\/p>\n<p>Our benchmarks were done using <span style=\"font-family: monospace;\">ab<\/span> 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.<\/p>\n<p>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.<\/p>\n<p>Simply run the script as a superuser (sudo can also be used) with the <span style=\"font-family: monospace;\">upgrade<\/span> flag to quickly and easily install and set up OpenLiteSpeed with lsphp56:<\/p>\n<pre>bash &lt;(curl http:\/\/www.litespeedtech.com\/packages\/tools\/convert-dowp-to-ols.sh) upgrade<\/pre>\n<p>Or use the <span style=\"font-family: monospace;\">upgrade70<\/span> flag to use lsphp70.<\/p>\n<pre>bash &lt;(curl http:\/\/www.litespeedtech.com\/packages\/tools\/convert-dowp-to-ols.sh) upgrade70<\/pre>\n<p>This command will install OpenLiteSpeed to the <span style=\"font-family: monospace;\">\/usr\/local\/lsws<\/span> directory and use your existing WordPress installation in <span style=\"font-family: monospace;\">\/var\/www\/html<\/span>.<\/p>\n<p>Increasing your DigitalOcean WordPress performance has never been easier!<\/p>\n<p>For more info, check out our <a href=\"http:\/\/open.litespeedtech.com\/mediawiki\/index.php\/Help:DOWP_Droplet_Upgrade\">DOWP Droplet Upgrade wiki page<\/a>.<\/p>\n<h3>The Raw Data<\/h3>\n<table style=\"border-collapse: collapse;\" border=\"1px solid black\">\n<tbody>\n<tr style=\"font-weight: bold;\" align=\"center\">\n<td>Concurrency<\/td>\n<td>Total Requests<\/td>\n<td>Default Droplet<\/td>\n<td>OpenLiteSpeed + LSCache for WordPress<\/td>\n<td>Default Droplet with WP Super Cache<\/td>\n<\/tr>\n<tr align=\"center\">\n<td>1<\/td>\n<td>100<\/td>\n<td>17<\/td>\n<td>285<\/td>\n<td>177<\/td>\n<\/tr>\n<tr align=\"center\">\n<td>1<\/td>\n<td>1,000<\/td>\n<td>17<\/td>\n<td>258<\/td>\n<td>175<\/td>\n<\/tr>\n<tr align=\"center\">\n<td>10<\/td>\n<td>1,000<\/td>\n<td>20<\/td>\n<td>949<\/td>\n<td>581<\/td>\n<\/tr>\n<tr align=\"center\">\n<td>10<\/td>\n<td>10,000<\/td>\n<td>20<\/td>\n<td>983<\/td>\n<td>511<\/td>\n<\/tr>\n<tr align=\"center\">\n<td>20<\/td>\n<td>1,000<\/td>\n<td>20<\/td>\n<td>1053<\/td>\n<td>655<\/td>\n<\/tr>\n<tr align=\"center\">\n<td>20<\/td>\n<td>10,000<\/td>\n<td>20<\/td>\n<td>1046<\/td>\n<td>550<\/td>\n<\/tr>\n<tr align=\"center\">\n<td>50<\/td>\n<td>1,000<\/td>\n<td>18<\/td>\n<td>1056<\/td>\n<td>617<\/td>\n<\/tr>\n<tr align=\"center\">\n<td>50<\/td>\n<td>10,000<\/td>\n<td>18<\/td>\n<td>1057<\/td>\n<td>592<\/td>\n<\/tr>\n<tr align=\"center\">\n<td>100<\/td>\n<td>10,000<\/td>\n<td>18*<\/td>\n<td>1058<\/td>\n<td>539<\/td>\n<\/tr>\n<tr align=\"center\">\n<td>100<\/td>\n<td>100,000<\/td>\n<td>20*<\/td>\n<td>1054<\/td>\n<td>651<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<div style=\"text-align: center;\"><em>*Concurrency 100 tests run on the default droplet were done with a total of 1,000 requests.<\/em><\/div>\n<p>We also measured server load during a 100 concurrency tests with 100,000 total requests:<\/p>\n<div align=\"center\">\n<table style=\"border-collapse: collapse;\" border=\"1px solid black\">\n<tbody>\n<tr style=\"font-weight: bold;\" align=\"center\">\n<td>Server + Cache<\/td>\n<td>Duration<\/td>\n<td>Server Load<\/td>\n<td>Req\/Sec<\/td>\n<\/tr>\n<tr align=\"center\">\n<td>OLS + LSCache for WordPress<\/td>\n<td>95 seconds<\/td>\n<td>0.35-0.4<\/td>\n<td>1052<\/td>\n<\/tr>\n<tr align=\"center\">\n<td>Default + WP Super Cache<\/td>\n<td>209 seconds<\/td>\n<td>~130<\/td>\n<td>480<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>This one-click script easily supercharges your DigitalOcean Droplet\u2019s WordPress setup.<\/p>\n","protected":false},"author":1,"featured_media":6429,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[27,28,29,20],"tags":[89,316],"class_list":["post-6363","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-web-server","category-cache","category-openlitespeed","category-performance","tag-digitalocean","tag-wordpress"],"jetpack_featured_media_url":"https:\/\/lswp.store\/wp-content\/uploads\/2016\/08\/DigitalOcean-WP-Droplet-1.png","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/lswp.store\/index.php\/wp-json\/wp\/v2\/posts\/6363","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lswp.store\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lswp.store\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lswp.store\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lswp.store\/index.php\/wp-json\/wp\/v2\/comments?post=6363"}],"version-history":[{"count":0,"href":"https:\/\/lswp.store\/index.php\/wp-json\/wp\/v2\/posts\/6363\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lswp.store\/index.php\/wp-json\/wp\/v2\/media\/6429"}],"wp:attachment":[{"href":"https:\/\/lswp.store\/index.php\/wp-json\/wp\/v2\/media?parent=6363"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lswp.store\/index.php\/wp-json\/wp\/v2\/categories?post=6363"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lswp.store\/index.php\/wp-json\/wp\/v2\/tags?post=6363"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}