{"id":761,"date":"2020-07-26T08:59:33","date_gmt":"2020-07-26T08:59:33","guid":{"rendered":"https:\/\/hostingspell.com\/blog\/?p=761"},"modified":"2020-07-26T08:59:35","modified_gmt":"2020-07-26T08:59:35","slug":"nginx-versus-litespeed","status":"publish","type":"post","link":"https:\/\/blog.hostingspell.com\/nginx-versus-litespeed\/","title":{"rendered":"Nginx versus LiteSpeed"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\"><strong>First of all, what is a web server?<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">So, a web server is a software installed on your server. Receiving HTTP requests, processing it and sending back response is its responsibility. Additional programs like PHP is required by a web server to obtain the output.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><em>Nginx versus LiteSpeed<\/em><\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><em>Nginx<\/em><\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Nginx [ pronounced as engine x], is an open-source web server. Originally created by Igor Sysoev (Russia), Nginx is used by companies like Facebook, Autodesk, Twitter and more.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">It is used as HTTP cache, reverse proxy and load balancer.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Nginx has an open-source&nbsp;<em>\u201cNginx\u201d<\/em>&nbsp;and&nbsp;<em>\u201cNginx Plus\u201d(paid version)<\/em><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Nginx is known to outperform other web servers in benchmark tests with its source in performance optimization.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><em>LiteSpeed<\/em><\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Estimated to be used by 6.4% of websites, LiteSpeed is one of the most popular web server software.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">It is compatible with apache features and uses the same configuration as Apache HTTP Server. LiteSpeed works as a drop-in replacement for Apache because it can read and load .htaccess files<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Recently, an open-source version of LiteSpeed,&nbsp;<em>OpenLiteSpeed,&nbsp;<\/em>was released.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><em>Performance<\/em><\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">A web server which is easy to use is essential. But it means nothing if the webserver does not perform well.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>TTFB<\/strong> \u2013 \u2018Time to First Byte\u2019 is the time taken by the browser to get a response from the server.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">OpenLiteSpeed has a slightly better TTFB, compared to Nginx. There is not much difference between them.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Stress test<\/strong> \u2013 helps in determining how a web server responds to heavy traffic in a short period.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">With 10k requests per second, almost 50% of the request timed out in Nginx. In OpenLiteSpeed, the timed-out requests were only 6%.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">With an average response time of 2.8 seconds, OpenLiteSpeed has shown better performance.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><em>Market share<\/em><\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Nginx is leading in the top 10k, 100k and 1M websites. It has grabbed the top position in the entire web with almost 12% websites using Nginx.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">LiteSpeed, despite its recent growth, is ranked behind Nginx in the market shares.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><em>Websites<\/em><\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Nginx has better coverage of website categories. This includes Electronics and Technology, Entertainment, Science and education, and more.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">LiteSpeed has not taken over Nginx\u2019s rank in this section yet.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>First of all, what is a web server? So, a web server is a software installed on your server. Receiving HTTP requests, processing it and sending back response is its responsibility. Additional programs like PHP is required by a web server to obtain the output. Nginx versus LiteSpeed Nginx Nginx [ pronounced as engine x], [&hellip;]<\/p>\n","protected":false},"author":7,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_uag_custom_page_level_css":"","_genesis_hide_title":false,"_genesis_hide_breadcrumbs":false,"_genesis_hide_singular_image":false,"_genesis_hide_footer_widgets":false,"_genesis_custom_body_class":"","_genesis_custom_post_class":"","_genesis_layout":"","footnotes":""},"categories":[1],"tags":[],"class_list":["post-761","post","type-post","status-publish","format-standard","category-general","entry"],"featured_image_src":null,"featured_image_src_square":null,"author_info":{"display_name":"Nikitha S.","author_link":"https:\/\/blog.hostingspell.com\/author\/nikitha\/"},"uagb_featured_image_src":{"full":false,"thumbnail":false,"medium":false,"medium_large":false,"large":false,"1536x1536":false,"2048x2048":false,"single-featured-image":false,"blog-featured-image":false,"home-featured":false,"ab-block-post-grid-landscape":false,"ab-block-post-grid-square":false,"author-pro-image":false,"gb-block-post-grid-landscape":false,"gb-block-post-grid-square":false},"uagb_author_info":{"display_name":"Nikitha S.","author_link":"https:\/\/blog.hostingspell.com\/author\/nikitha\/"},"uagb_comment_info":2,"uagb_excerpt":"First of all, what is a web server? So, a web server is a software installed on your server. Receiving HTTP requests, processing it and sending back response is its responsibility. Additional programs like PHP is required by a web server to obtain the output. Nginx versus LiteSpeed Nginx Nginx [ pronounced as engine x],&hellip;","_links":{"self":[{"href":"https:\/\/blog.hostingspell.com\/wp-json\/wp\/v2\/posts\/761","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.hostingspell.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.hostingspell.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.hostingspell.com\/wp-json\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.hostingspell.com\/wp-json\/wp\/v2\/comments?post=761"}],"version-history":[{"count":0,"href":"https:\/\/blog.hostingspell.com\/wp-json\/wp\/v2\/posts\/761\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.hostingspell.com\/wp-json\/wp\/v2\/media?parent=761"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.hostingspell.com\/wp-json\/wp\/v2\/categories?post=761"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.hostingspell.com\/wp-json\/wp\/v2\/tags?post=761"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}