{"id":2802,"date":"2014-11-14T17:40:47","date_gmt":"2014-11-14T21:40:47","guid":{"rendered":"http:\/\/blog.litespeedtech.com\/?p=2802"},"modified":"2014-11-14T17:40:47","modified_gmt":"2014-11-14T21:40:47","slug":"benchmarks-litespeed-vs-apache-with-cpanel-wordpress","status":"publish","type":"post","link":"https:\/\/lswp.store\/index.php\/2014\/11\/14\/benchmarks-litespeed-vs-apache-with-cpanel-wordpress\/","title":{"rendered":"Benchmarks: LiteSpeed vs. Apache with cPanel + WordPress"},"content":{"rendered":"<p><a href=\"http:\/\/blog.litespeedtech.com\/wp-content\/uploads\/2014\/11\/cPBenchRAM.png\"><img fetchpriority=\"high\" decoding=\"async\" class=\"aligncenter wp-image-2808\" src=\"http:\/\/blog.litespeedtech.com\/wp-content\/uploads\/2014\/11\/cPBenchRAM.png\" alt=\"cPBenchRAM\" width=\"450\" height=\"236\" srcset=\"https:\/\/lswp.store\/wp-content\/uploads\/2014\/11\/cPBenchRAM.png 708w, https:\/\/lswp.store\/wp-content\/uploads\/2014\/11\/cPBenchRAM-300x157.png 300w, https:\/\/lswp.store\/wp-content\/uploads\/2014\/11\/cPBenchRAM-600x314.png 600w\" sizes=\"(max-width: 450px) 100vw, 450px\" \/><\/a>These benchmarks from <a title=\"cPanel Conference 2014 main site\" href=\"http:\/\/conference14.cpanel.net\/\">cPanel Conference 2014<\/a> demonstrate RAM usage and server load differences for LiteSpeed Web Server vs. Apache.<!--more--><\/p>\n<h3>&#8220;Real&#8221; benchmarks<\/h3>\n<p>One common complaint about benchmarks is that they do not show real world results. In our opinion, benchmarks are not meant to mimic the real world. We think they should highlight\u00a0pure\u00a0differences in web server speeds, with as little clouding by other parts of the stack as possible.\u00a0(If you want real world results, check out our <a title=\"LiteSpeed Web Server case studies\" href=\"http:\/\/www.litespeedtech.com\/solutions\/case-studies\">case studies<\/a>.)<\/p>\n<p>But Tristan Wallace, cPanel&#8217;s PHP guru, wanted benchmarks that would look more like something a cPanel user might be running.\u00a0For cPanel Conference this year, she tested the\u00a0difference LSWS would make on a\u00a0WordPress +\u00a0cPanel installation, looking at <strong>not only speed, but also RAM and load<\/strong>.<\/p>\n<h3><img decoding=\"async\" class=\"aligncenter wp-image-2810\" src=\"http:\/\/blog.litespeedtech.com\/wp-content\/uploads\/2014\/11\/cPBenchLoad.png\" alt=\"cPBenchLoad\" width=\"450\" height=\"234\" srcset=\"https:\/\/lswp.store\/wp-content\/uploads\/2014\/11\/cPBenchLoad.png 711w, https:\/\/lswp.store\/wp-content\/uploads\/2014\/11\/cPBenchLoad-300x156.png 300w, https:\/\/lswp.store\/wp-content\/uploads\/2014\/11\/cPBenchLoad-600x311.png 600w\" sizes=\"(max-width: 450px) 100vw, 450px\" \/>You can&#8217;t handle the traffic<\/h3>\n<p>Tristan&#8217;s benchmarks (above and below) look at LSWS and Apache\u00a0at two levels of concurrency. They show a stark difference in scalability. <strong>When the number of concurrent connections was increased (from 20 to 50), Apache&#8217;s RAM usage and server load exploded. For LSWS, it remained virtually unchanged.<\/strong> This is the main point of LiteSpeed: It cuts load on high traffic servers. . It allows you to serve more traffic (or host more accounts) without upgrading your server.<\/p>\n<p>Unfortunately, the two different concurrency levels were tested on separate machines \u2014 a small VPS for 20 concurrent connections and a dedicated server for 50 concurrent connections. The reason this was done, though, just underscores the points above: <strong>when Tristan tried to run the higher concurrency test on the VPS, Apache just couldn&#8217;t handle. LiteSpeed Web Server, on the other hand, it just kept chugging along<\/strong>.<img decoding=\"async\" class=\"aligncenter wp-image-2812\" src=\"http:\/\/blog.litespeedtech.com\/wp-content\/uploads\/2014\/11\/cPBenchSpeed.png\" alt=\"cPBenchSpeed\" width=\"450\" height=\"258\" srcset=\"https:\/\/lswp.store\/wp-content\/uploads\/2014\/11\/cPBenchSpeed.png 712w, https:\/\/lswp.store\/wp-content\/uploads\/2014\/11\/cPBenchSpeed-300x172.png 300w, https:\/\/lswp.store\/wp-content\/uploads\/2014\/11\/cPBenchSpeed-600x344.png 600w\" sizes=\"(max-width: 450px) 100vw, 450px\" \/><\/p>\n<p>This difference in hardware means, though, that the speed benchmark (looking at max response time) doesn&#8217;t give us a good picture of what happens to speed when concurrency is increased. We do see that LSWS is faster than Apache\u00a0(especially for Apache&#8217;s FCGI and suPHP setups), but the real difference happens when there&#8217;s a traffic spike and Apache can&#8217;t handle the traffic.<\/p>\n<h3>Reactions requested<\/h3>\n<p>These benchmarks are perhaps not perfect (What benchmarks are?), but they shine light on an important real world problem: What happens when Apache gets too much traffic. The full presentation and more notes are available on <a title=\"WordPress + cPanel benchmarks\" href=\"http:\/\/www.litespeedtech.com\/solutions\/benchmarks\/wordpress-cpanel\">our site<\/a>. We&#8217;ve created <a title=\"WordPress + cPanel benchmark thread\" href=\"http:\/\/www.litespeedtech.com\/support\/forum\/threads\/new-benchmarks-lsws-vs-apache-for-cpanel-wordpress.10152\/\">a thread<\/a> on our forum to discuss these benchmarks and we welcome any feedback you may have.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>These benchmarks from cPanel Conference 2014 demonstrate RAM usage and server load differences for LiteSpeed Web Server vs. Apache.<\/p>\n","protected":false},"author":1,"featured_media":2812,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[16,27],"tags":[74,78],"class_list":["post-2802","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-benchmarks","category-web-server","tag-control-panels-2","tag-cpanel"],"jetpack_featured_media_url":"https:\/\/lswp.store\/wp-content\/uploads\/2014\/11\/cPBenchSpeed.png","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/lswp.store\/index.php\/wp-json\/wp\/v2\/posts\/2802","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=2802"}],"version-history":[{"count":0,"href":"https:\/\/lswp.store\/index.php\/wp-json\/wp\/v2\/posts\/2802\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lswp.store\/index.php\/wp-json\/wp\/v2\/media\/2812"}],"wp:attachment":[{"href":"https:\/\/lswp.store\/index.php\/wp-json\/wp\/v2\/media?parent=2802"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lswp.store\/index.php\/wp-json\/wp\/v2\/categories?post=2802"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lswp.store\/index.php\/wp-json\/wp\/v2\/tags?post=2802"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}