<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"><channel><title>Homo-Adminus Blog - Latest Comments in High-Performance Ruby On Rails Setups Test: mongrel vs lighttpd vs nginx</title><link>http://homo-adminus.disqus.com/</link><description></description><language>en</language><lastBuildDate>Sun, 27 Jul 2008 15:50:28 -0000</lastBuildDate><item><title>Re: High-Performance Ruby On Rails Setups Test: mongrel vs lighttpd vs nginx</title><link>http://blog.kovyrin.net/2006/08/22/high-performance-rails-nginx-lighttpd-mongrel/#comment-2460566</link><description>Hi,&lt;br&gt;&lt;br&gt;We're having some discussion on the RailsRocket forums about the performance of different web-servers. Have you tried the Thin web-server?  How does it compare to the rest?</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">ashes999</dc:creator><pubDate>Sun, 27 Jul 2008 15:50:28 -0000</pubDate></item><item><title>Re: High-Performance Ruby On Rails Setups Test: mongrel vs lighttpd vs nginx</title><link>http://blog.kovyrin.net/2006/08/22/high-performance-rails-nginx-lighttpd-mongrel/#comment-2460565</link><description>Aleksey, &lt;br&gt;&lt;br&gt;I agree, I believe that Thomas meant that enabling the logs on the Lighttpd would make everything run slower than Nginx without the logs. But isn't it obvious? If you want faster then you have to unable the logging features.&lt;br&gt;&lt;br&gt;Jenn</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ruby Developers</dc:creator><pubDate>Thu, 06 Dec 2007 13:58:43 -0000</pubDate></item><item><title>Re: High-Performance Ruby On Rails Setups Test: mongrel vs lighttpd vs nginx</title><link>http://blog.kovyrin.net/2006/08/22/high-performance-rails-nginx-lighttpd-mongrel/#comment-2460564</link><description>Mongrel еще поддерживает фреймверк IOWA</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">gamer</dc:creator><pubDate>Tue, 18 Sep 2007 23:38:43 -0000</pubDate></item><item><title>Re: High-Performance Ruby On Rails Setups Test: mongrel vs lighttpd vs nginx</title><link>http://blog.kovyrin.net/2006/08/22/high-performance-rails-nginx-lighttpd-mongrel/#comment-2460563</link><description>Thomas means enabled logs on lighttpd may and probably will make things slower compared to nginx running without logging.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Aleksey</dc:creator><pubDate>Fri, 14 Sep 2007 02:17:04 -0000</pubDate></item><item><title>Re: High-Performance Ruby On Rails Setups Test: mongrel vs lighttpd vs nginx</title><link>http://blog.kovyrin.net/2006/08/22/high-performance-rails-nginx-lighttpd-mongrel/#comment-2460561</link><description>2Thomas: strange, nginx always has really flexible and pretty convenient logging system.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Scoundrel</dc:creator><pubDate>Fri, 06 Jul 2007 00:39:29 -0000</pubDate></item><item><title>Re: High-Performance Ruby On Rails Setups Test: mongrel vs lighttpd vs nginx</title><link>http://blog.kovyrin.net/2006/08/22/high-performance-rails-nginx-lighttpd-mongrel/#comment-2460562</link><description>There's a little difference in your setup, lighttpd has accesslogs on while nginx doesn't. I guess that should make a bit of a difference, no?</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">TomK32</dc:creator><pubDate>Thu, 05 Jul 2007 02:09:26 -0000</pubDate></item><item><title>Re: High-Performance Ruby On Rails Setups Test: mongrel vs lighttpd vs nginx</title><link>http://blog.kovyrin.net/2006/08/22/high-performance-rails-nginx-lighttpd-mongrel/#comment-2460560</link><description>Thanks for your benchmarks! You can also use httperf to get speed tests.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Matte</dc:creator><pubDate>Thu, 22 Mar 2007 08:31:51 -0000</pubDate></item><item><title>Re: High-Performance Ruby On Rails Setups Test: mongrel vs lighttpd vs nginx</title><link>http://blog.kovyrin.net/2006/08/22/high-performance-rails-nginx-lighttpd-mongrel/#comment-2460559</link><description>2Mark:&lt;br&gt;&lt;code&gt;&lt;br&gt;$ php -i | grep php.ini&lt;br&gt;Configuration File (php.ini) Path =&amp;gt; /etc/php5/cli/php.ini&lt;br&gt;&lt;/code&gt;&lt;br&gt;&lt;br&gt;Try such command and you'll see where php tries to find its configs.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Scoundrel</dc:creator><pubDate>Wed, 20 Dec 2006 14:22:21 -0000</pubDate></item><item><title>Re: High-Performance Ruby On Rails Setups Test: mongrel vs lighttpd vs nginx</title><link>http://blog.kovyrin.net/2006/08/22/high-performance-rails-nginx-lighttpd-mongrel/#comment-2460558</link><description>Another question concerning nginx. Since it has been installed I can not figure out how to set php.ini values such as upload_max_size. Is there a specific way to go about configuring these settings? There is no php.ini file in the path now being reported in phpinfo()</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Marc</dc:creator><pubDate>Wed, 20 Dec 2006 13:58:58 -0000</pubDate></item><item><title>Re: High-Performance Ruby On Rails Setups Test: mongrel vs lighttpd vs nginx</title><link>http://blog.kovyrin.net/2006/08/22/high-performance-rails-nginx-lighttpd-mongrel/#comment-2460557</link><description>Wow I've got my license key for LiteSpeed! Will test it now...</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Scoundrel</dc:creator><pubDate>Sun, 27 Aug 2006 23:20:01 -0000</pubDate></item><item><title>Re: High-Performance Ruby On Rails Setups Test: mongrel vs lighttpd vs nginx</title><link>http://blog.kovyrin.net/2006/08/22/high-performance-rails-nginx-lighttpd-mongrel/#comment-2460556</link><description>2xing: no luck... &lt;br&gt;&lt;blockquote&gt;&lt;br&gt;Thank you trying out LiteSpeed Web Server Enterprise Edition. You will receive an email shortly with the trial license.&lt;br&gt;&lt;/blockquote&gt;&lt;br&gt;&lt;br&gt;But no mail... so, resend it to me manually, please.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Scoundrel</dc:creator><pubDate>Sat, 26 Aug 2006 14:19:39 -0000</pubDate></item><item><title>Re: High-Performance Ruby On Rails Setups Test: mongrel vs lighttpd vs nginx</title><link>http://blog.kovyrin.net/2006/08/22/high-performance-rails-nginx-lighttpd-mongrel/#comment-2460555</link><description>2Scoundrel: We have fixed the trial form error. Please try to download the enterprise edition trial key once more.  Thanks.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">xing</dc:creator><pubDate>Sat, 26 Aug 2006 13:30:32 -0000</pubDate></item><item><title>Re: High-Performance Ruby On Rails Setups Test: mongrel vs lighttpd vs nginx</title><link>http://blog.kovyrin.net/2006/08/22/high-performance-rails-nginx-lighttpd-mongrel/#comment-2460554</link><description>2xing: I would be glad to add your software to next benchmark, but I can't get trial version from your site... there is some error after trial download form... If you want, you can send me archive with trial version by email and I will test it.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Scoundrel</dc:creator><pubDate>Sat, 26 Aug 2006 13:17:41 -0000</pubDate></item><item><title>Re: High-Performance Ruby On Rails Setups Test: mongrel vs lighttpd vs nginx</title><link>http://blog.kovyrin.net/2006/08/22/high-performance-rails-nginx-lighttpd-mongrel/#comment-2460553</link><description>We would love to see LiteSpeed, &lt;a href="http://www.litespeedtech.com" rel="nofollow"&gt;http://www.litespeedtech.com&lt;/a&gt;. Our 2.2 in-addition to our Ruby LSAPI is one of the top performing platforms for Rail deployment.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">xing</dc:creator><pubDate>Sat, 26 Aug 2006 12:58:20 -0000</pubDate></item><item><title>Re: High-Performance Ruby On Rails Setups Test: mongrel vs lighttpd vs nginx</title><link>http://blog.kovyrin.net/2006/08/22/high-performance-rails-nginx-lighttpd-mongrel/#comment-2460552</link><description>Hi,&lt;br&gt;&lt;br&gt;great blog-entry ;-)&lt;br&gt;&lt;br&gt;Please can you also add HAProxy to your tests ;-)&lt;br&gt;&lt;br&gt;&lt;a href="http://haproxy.1wt.eu/" rel="nofollow"&gt;http://haproxy.1wt.eu/&lt;/a&gt;&lt;br&gt;&lt;br&gt;--- advertisment from homepage&lt;br&gt;.&lt;br&gt;.&lt;br&gt;HAProxy is a free, very fast and reliable solution offering high availability, load balancing, and proxying for TCP and HTTP-based applications. It is particularly suited for web sites crawling under very high loads while needing persistence or Layer7 processing. Supporting tens of thousands of connections is clearly realistic with todays hardware. Its mode of operation makes its integration into existing architectures very easy and riskless, while still offering the possibility not to expose fragile web servers to the Net.&lt;br&gt;.&lt;br&gt;.&lt;br&gt;---</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Al</dc:creator><pubDate>Fri, 25 Aug 2006 03:18:22 -0000</pubDate></item><item><title>Re: High-Performance Ruby On Rails Setups Test: mongrel vs lighttpd vs nginx</title><link>http://blog.kovyrin.net/2006/08/22/high-performance-rails-nginx-lighttpd-mongrel/#comment-2460551</link><description>Хмм... Да, кстати, насчёт keep-alive, заметка на будущее тестирование: статические файлы надо бы сервить отдельно самим фронтендом, без бэк-ендов. Так и быстрее будет, и keep-alive влиять не будет. ;)</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Alexander Solovyov</dc:creator><pubDate>Wed, 23 Aug 2006 13:55:56 -0000</pubDate></item><item><title>Re: High-Performance Ruby On Rails Setups Test: mongrel vs lighttpd vs nginx</title><link>http://blog.kovyrin.net/2006/08/22/high-performance-rails-nginx-lighttpd-mongrel/#comment-2460550</link><description>Как и все удивлен почему FastCGI не тестировался...  Касаемо Lighttpd - reverse proxy у него несколько кривой не держит keep-alive что я думаю и является причиной тормозов в данном случае.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Peter Zaitsev</dc:creator><pubDate>Wed, 23 Aug 2006 10:56:17 -0000</pubDate></item><item><title>Re: High-Performance Ruby On Rails Setups Test: mongrel vs lighttpd vs nginx</title><link>http://blog.kovyrin.net/2006/08/22/high-performance-rails-nginx-lighttpd-mongrel/#comment-2460549</link><description>&amp;gt; I’m not sure exactly what the dummy location for static files does?&lt;br&gt;&lt;br&gt;There you must define root for cached pages, like:&lt;br&gt;&lt;br&gt;&lt;br&gt;root /path/to/cache&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;gt; Also does this setup automatically serve images, js and css files&lt;br&gt;&lt;br&gt;No, you must define location like this:&lt;br&gt;&lt;br&gt;&lt;br&gt;location ~* ^.+\.(jpg|jpeg|gif|css|js)$ {&lt;br&gt;     root /path/to/static;&lt;br&gt;}</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Alexander Solovyov</dc:creator><pubDate>Wed, 23 Aug 2006 05:34:54 -0000</pubDate></item><item><title>Re: High-Performance Ruby On Rails Setups Test: mongrel vs lighttpd vs nginx</title><link>http://blog.kovyrin.net/2006/08/22/high-performance-rails-nginx-lighttpd-mongrel/#comment-2460548</link><description>Very cool Alexey. I think nginx is my new favorite front for rails apps. I'm not sure exactly what the dummy location for static files does? Can you explain? Also does this setup automatically serve images, js and css files as static if they are in the public dir of the rails app? Or do I need to add a location ~ .js and a location ~ .css, etc... ?&lt;br&gt;&lt;br&gt;I appreciate your help with this.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ezra</dc:creator><pubDate>Tue, 22 Aug 2006 20:55:01 -0000</pubDate></item><item><title>Re: High-Performance Ruby On Rails Setups Test: mongrel vs lighttpd vs nginx</title><link>http://blog.kovyrin.net/2006/08/22/high-performance-rails-nginx-lighttpd-mongrel/#comment-2460520</link><description>2Ezra: yeah. You can create such setup for nginx. You can use rewrite module in following way:&lt;br&gt;&amp;lt;pre&amp;gt;&lt;br&gt;server {&lt;br&gt;  root /path/to/your/public;&lt;br&gt;&lt;br&gt;  location / {&lt;br&gt;    if (!-f $request_filename.html) {&lt;br&gt;      # your proxy configuration&lt;br&gt;      ...&lt;br&gt;      ...&lt;br&gt;    }&lt;br&gt;&lt;br&gt;    rewrite (.*) $1.html last;&lt;br&gt;  }&lt;br&gt;&lt;br&gt;  location ~ \.html {&lt;br&gt;    #dummy location for static files&lt;br&gt;  }&lt;br&gt;}&amp;lt;/pre&amp;gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Scoundrel</dc:creator><pubDate>Tue, 22 Aug 2006 20:40:54 -0000</pubDate></item><item><title>Re: High-Performance Ruby On Rails Setups Test: mongrel vs lighttpd vs nginx</title><link>http://blog.kovyrin.net/2006/08/22/high-performance-rails-nginx-lighttpd-mongrel/#comment-2460547</link><description>I have another question regarding nginx. Is there a way to set it up for use with rails so that it will first check for static files and then if it doesn not find a file it will invoke the proxy to the backend to get the request? This is how rails page caching works. So if an url like example.com/foo/bar was to be requested, nginx would look for /foo/bar.html and serve it directly if it exists but if not exist it would foreward the request to the proxy backend server? Maybe by using a 404 error handler or something? I would be very interested in gettign a nginx config that has nginx serving all static and page cached files and then forwarding any other requests to a cluster of mongrels via the proxy.&lt;br&gt;&lt;br&gt;Thanks for mentioning nginx, I have been playiung with it today and I like it very much so far.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ezra</dc:creator><pubDate>Tue, 22 Aug 2006 19:15:32 -0000</pubDate></item><item><title>Re: High-Performance Ruby On Rails Setups Test: mongrel vs lighttpd vs nginx</title><link>http://blog.kovyrin.net/2006/08/22/high-performance-rails-nginx-lighttpd-mongrel/#comment-2460546</link><description>Hi,&lt;br&gt;&lt;br&gt;Just a typo notice:&lt;br&gt;The title says lihgttpd instead of lighttpd.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Wenix</dc:creator><pubDate>Tue, 22 Aug 2006 15:05:02 -0000</pubDate></item><item><title>Re: High-Performance Ruby On Rails Setups Test: mongrel vs lighttpd vs nginx</title><link>http://blog.kovyrin.net/2006/08/22/high-performance-rails-nginx-lighttpd-mongrel/#comment-2460545</link><description>hello &lt;br&gt;thanks for this post, i did not knew about nginx. &lt;br&gt;&lt;br&gt;you might want to chechk out fcgi it is faster than fastcgi&lt;br&gt;&lt;br&gt;i thought i would use mongrel or lightpd but apache + fcgi was faster (for &lt;a href="http://sprinj.com" rel="nofollow"&gt;http://sprinj.com&lt;/a&gt; at least)</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">heri</dc:creator><pubDate>Tue, 22 Aug 2006 13:17:36 -0000</pubDate></item><item><title>Re: High-Performance Ruby On Rails Setups Test: mongrel vs lighttpd vs nginx</title><link>http://blog.kovyrin.net/2006/08/22/high-performance-rails-nginx-lighttpd-mongrel/#comment-2460544</link><description>Alexey-  would you mind emailing me so we could have a discussion about nginx? I am writing a book about rails deployment and I am very excited to learn of this project. I would love to work with you to get the optimal setup for running rails with nginx/mongrel and nginx/fastcgi. Would you please contact me so we could discuss more? I think you should have my email already from the comment form. Thank you for your time.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ezra</dc:creator><pubDate>Tue, 22 Aug 2006 13:16:18 -0000</pubDate></item><item><title>Re: High-Performance Ruby On Rails Setups Test: mongrel vs lighttpd vs nginx</title><link>http://blog.kovyrin.net/2006/08/22/high-performance-rails-nginx-lighttpd-mongrel/#comment-2460543</link><description>Alexander Borovsky: нет, не забыл. именно dispatcher.fcgi</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">kpumuk</dc:creator><pubDate>Tue, 22 Aug 2006 13:10:53 -0000</pubDate></item></channel></rss>