Pearware Blog : Archives for December 2006 http://blog.pearware.org/articles/2006/12.rss en-us 40 agile web development Switching from Pound to Nginx <p>I just switched some <a href="http://www.rubyonrails.com">Ruby on Rails</a> apps I&#8217;m running from <a href="http://www.apsis.ch/pound/">Pound</a> to <a href="http://sysoev.ru/nginx/">Nginx</a> based on the results from some <a href="http://blog.kovyrin.net/2006/08/28/ruby-performance-results/">articles</a> I&#8217;ve read online. The two biggest advantages of Nginx are 1. It&#8217;s raw performance, and 2. It can serve up static files, which is great for running <a href="http://wiki.rubyonrails.org/rails/pages/Capistrano">Capistrano&#8217;s</a> <strong>disable_web</strong> command to show a maintenance page when redeploying an application.</p> <p>At work, we&#8217;re working on a standard Ruby on Rails setup and are currently investigating two options. The first is a <a href="http://mongrel.rubyforge.org/">Mongrel cluster</a> running behind Nginx, as I described above. The second option is fronting the Mongrel cluster with <a href="http://www.lighttpd.net/">Lighttpd</a>. Since the 1.4.x series of Lighttpd is <a href="http://weblog.rubyonrails.org/2006/7/3/pound-makes-lighty-and-mongrel-play-nice">known</a> to have some issues with it&#8217;s mod_proxy implementation, we would use <a href="">Pen</a> until a stable 1.5 version is released.</p> <p>I&#8217;ll post another article once we have finished our evaluation and chosen which option we&#8217;re going to deploy at work. Stay tuned&#8230;</p> Tue, 05 Dec 2006 14:08:00 -0600 urn:uuid:5bc57c3a-1ceb-4323-aa46-63489c4abfe1 http://blog.pearware.org/articles/2006/12/05/switching-from-pound-to-nginx#comments web ruby rails nginx capistrano rails ruby proxy load balancer http://blog.pearware.org/articles/2006/12/05/switching-from-pound-to-nginx