{"id":24,"date":"2008-01-11T22:21:00","date_gmt":"2008-01-11T22:21:00","guid":{"rendered":"http:\/\/www.mohanjith.net\/wordpress\/?p=24"},"modified":"2008-01-11T22:21:00","modified_gmt":"2008-01-11T22:21:00","slug":"flying-light-with-lighty","status":"publish","type":"post","link":"https:\/\/mohanjith.net\/blog\/2008\/01\/flying-light-with-lighty.html","title":{"rendered":"Flying light with lighty"},"content":{"rendered":"<p>I moved all my sites to my all new server. There I&#8217;m running <a href=\"http:\/\/www.lighttpd.net\/\">Lighttpd<\/a> as the front facing web server. I do have Apache HTTP Server running for the sake of svn serving. It was not very hard to migrate sites from <a href=\"http:\/\/httpd.apache.org\/\">Apache HTTP Server<\/a> to Lighttpd. Only feature I missed was .htaccess file support or substitute. I just had to migrate all the operations taking place in the .htaccess files to the Lighty configuration file.<\/p>\n<p>Overall migration was smooth. I have nothing to complain, memory foot print is small as it could get. Since I&#8217;m serving only PHP and Python I&#8217;m making use of FastCGI and it is really fast. You wouldn&#8217;t believe me if I tell you the performance gains. I can serve 700 requests per second when it  comes to my <a href=\"http:\/\/geoinfo.mohanjith.net\">Geo-IP<\/a> web service (I believe the limit was the resources on the test machine), the server is not even sweating. If I was running the same application on Apache HTTP Server it would barely serve 230 requests per second, 204% performance gain.<\/p>\n<p>If you visit any of my sites except for the blog itself (which is hosted at Blogger.com) you would see the performance. <a href=\"http:\/\/www.mohanjith.net\">mohanjith.net<\/a> responds within a second, that&#8217;s lighting fast. All this with a Debian running on Xen with 128MB physical memory and 256MB swap.<\/p>\n<p>I would recommend Lighty to any one with simple serving requirements. It saves lot of server resources.<\/p>\n<div id=\"fb-like\" style=\"\"><iframe src=\"http:\/\/www.facebook.com\/plugins\/like.php?href=https:\/\/mohanjith.net\/blog\/2008\/01\/flying-light-with-lighty.html&amp;layout=standard&amp;show_faces=true&amp;width=300&amp;action=like&amp;font=&amp;colorscheme=light&amp;locale=en_US\" scrolling=\"no\" frameborder=\"0\" allowTransparency=\"true\" style=\"border:none; overflow:hidden; width:300px; height:30px\"><\/iframe><\/div>","protected":false},"excerpt":{"rendered":"<p>I moved all my sites to my all new server. There I&#8217;m running Lighttpd as the front facing web server. I do have Apache HTTP Server running for the sake of svn serving. It was not very hard to migrate sites from Apache HTTP Server to Lighttpd. Only feature I missed was .htaccess file support &#8230; <a title=\"Flying light with lighty\" class=\"read-more\" href=\"https:\/\/mohanjith.net\/blog\/2008\/01\/flying-light-with-lighty.html\" aria-label=\"More on Flying light with lighty\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"enabled":false},"version":2}},"categories":[75,76,78,77,74,26],"tags":[387,388,390,389,386,338],"class_list":["post-24","post","type-post","status-publish","format-standard","hentry","category-apache-http-server","category-fast","category-fastcgi","category-lighttpd","category-lighty","category-linux","tag-apache-http-server","tag-fast","tag-fastcgi","tag-lighttpd","tag-lighty","tag-linux"],"aioseo_notices":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p5lUHm-o","jetpack_likes_enabled":false,"_links":{"self":[{"href":"https:\/\/mohanjith.net\/blog\/wp-json\/wp\/v2\/posts\/24","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mohanjith.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mohanjith.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mohanjith.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mohanjith.net\/blog\/wp-json\/wp\/v2\/comments?post=24"}],"version-history":[{"count":0,"href":"https:\/\/mohanjith.net\/blog\/wp-json\/wp\/v2\/posts\/24\/revisions"}],"wp:attachment":[{"href":"https:\/\/mohanjith.net\/blog\/wp-json\/wp\/v2\/media?parent=24"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mohanjith.net\/blog\/wp-json\/wp\/v2\/categories?post=24"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mohanjith.net\/blog\/wp-json\/wp\/v2\/tags?post=24"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}