{"id":9344,"date":"2018-03-09T17:44:43","date_gmt":"2018-03-09T22:44:43","guid":{"rendered":"https:\/\/blog.litespeedtech.com\/?p=9344"},"modified":"2018-03-09T17:44:43","modified_gmt":"2018-03-09T22:44:43","slug":"benchmarking-lscache-for-joomla","status":"publish","type":"post","link":"https:\/\/lswp.store\/index.php\/2018\/03\/09\/benchmarking-lscache-for-joomla\/","title":{"rendered":"Benchmarking LSCache for Joomla"},"content":{"rendered":"<p>We put our new <a href=\"https:\/\/www.litespeedtech.com\/support\/wiki\/doku.php\/litespeed_wiki:cache:lscjoomla\">LSCache extension for Joomla<\/a> to the test, comparing OpenLiteSpeed and LSCache to Apache and Joomla System Page Cache. These are the results.<\/p>\n<p>Our testing consisted of burst tests simulating 10,000 requests over 100 concurrent users.<\/p>\n<h2>The Results<\/h2>\n<p>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.<br \/>\n<img fetchpriority=\"high\" decoding=\"async\" title=\"\" src=\"https:\/\/lswp.store\/wp-content\/uploads\/2018\/03\/null-5.png\" alt=\"\" width=\"672\" height=\"336\" \/><br \/>\nAs you can see, OpenLiteSpeed + LSCache outperforms Apache + Joomla System Page Cache..<\/p>\n<h2>Try it Yourself<\/h2>\n<p>In the interest of transparency, we&#8217;re including the specs of our configuration and test environment below. Feel free to run the same benchmarks yourself and verify our results.<\/p>\n<p>This is the command we used in all tests (Replace <code>example.com\/path<\/code> with the location of your test subjects):<\/p>\n<pre>ab -n 10000 -k -H \"Accept-Encoding: gzip,deflate\" -c 100 example.com\/path<\/pre>\n<p>Each test was run five times, and the average result was used for our graphs.<\/p>\n<h3>Web Server Configuration<\/h3>\n<p>Common settings for both servers:<\/p>\n<ul>\n<li>Keep-Alive<\/li>\n<li>gzip<\/li>\n<li>OPCache<\/li>\n<li>PHP use socket<\/li>\n<li>PHP version 7.1.2<\/li>\n<\/ul>\n<p>Additional OpenLiteSpeed settings:<\/p>\n<ul>\n<li>Number of Workers 4<\/li>\n<li>PHP_LSAPI_CHILDREN=20<\/li>\n<li>LSAPI_AVOID_FORK=1<\/li>\n<\/ul>\n<h3>Test Environment<\/h3>\n<h4>Software<\/h4>\n<p>Web Server version:<\/p>\n<ul>\n<li>OLS: v1.4.28<\/li>\n<li>Apache: v2.4.6<\/li>\n<\/ul>\n<p>Server API version:<\/p>\n<ul>\n<li>OLS: LSAPI v6.11<\/li>\n<li>Apache: Apache 2.0 Handler<\/li>\n<\/ul>\n<p>Cache version:<\/p>\n<ul>\n<li>OLS: <a href=\"https:\/\/www.litespeedtech.com\/support\/wiki\/doku.php\/litespeed_wiki:cache:lscjoomla\">LSCache for Joomla<\/a><\/li>\n<li>Apache: Joomla system &#8211; page cache<\/li>\n<\/ul>\n<h4>Hardware<\/h4>\n<p>Both Client and Server specs:<\/p>\n<ul>\n<li>Intel Xeon CPU E7- 4870 4 Core @ 2.40GHz<\/li>\n<li>4GB RAM<\/li>\n<li>120GB ZFS RAID-Z2 iSCSI Drive<\/li>\n<li>CentOS 7<\/li>\n<\/ul>\n<p>Although we didn\u2019t use one for our benchmarks, We recommend Solid State Drives (SSD) in production environments.<\/p>\n<p>Try <a href=\"https:\/\/www.litespeedtech.com\/support\/wiki\/doku.php\/litespeed_wiki:cache:lscjoomla\">LSCache for Joomla<\/a> today, and tell us what you think!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>We put our new LSCache extension for Joomla to the test, comparing OpenLiteSpeed and LSCache to Apache and Joomla System Page Cache. These are the results.<\/p>\n","protected":false},"author":1,"featured_media":9350,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[16,28],"tags":[150],"class_list":["post-9344","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-benchmarks","category-cache","tag-joomla"],"jetpack_featured_media_url":"https:\/\/lswp.store\/wp-content\/uploads\/2018\/03\/biker.png","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/lswp.store\/index.php\/wp-json\/wp\/v2\/posts\/9344","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=9344"}],"version-history":[{"count":0,"href":"https:\/\/lswp.store\/index.php\/wp-json\/wp\/v2\/posts\/9344\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lswp.store\/index.php\/wp-json\/wp\/v2\/media\/9350"}],"wp:attachment":[{"href":"https:\/\/lswp.store\/index.php\/wp-json\/wp\/v2\/media?parent=9344"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lswp.store\/index.php\/wp-json\/wp\/v2\/categories?post=9344"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lswp.store\/index.php\/wp-json\/wp\/v2\/tags?post=9344"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}