<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><DIV>We moved to mongrel a long time ago and it's made our lives a lot easier. No more </DIV><DIV>fcgi weirdness, memory leaks and fcgi processes just dying suddenly.</DIV><DIV><BR class="khtml-block-placeholder"></DIV>Unfortunately Rails isn't thread safe unlike some other Ruby web frameworks and because<DIV>of that you'll need more than one mongrel if you're going to be serving anything</DIV><DIV>substantial or doing anything that involved file uploads. </DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>We've got two different deployment configurations going on at the minute, the first is Apache 2.2</DIV><DIV>proxying to mongrel though not as resource efficient, I've found it rock solid. The second configuration</DIV><DIV>is Nginx proxying to mongrel which we've found stable and far more easier on system resources than Apache.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Cheers</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Jonathan</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Helvetica; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><B>T.</B> +44 (0)20 7099 7486</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><B>E.</B><A href="mailto:jonathan@agileevolved.com">jonathan@agileevolved.com</A></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><B>W</B>.http://<A href="http://www.agileevolved.com/"><FONT class="Apple-style-span" color="#001FE8">www.agileevolved.com</FONT></A></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><BR class="khtml-block-placeholder"></DIV></DIV></DIV><DIV><BR><DIV><DIV>On 23 Nov 2006, at 09:33, soledad penadés | sole wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite">Hi guys!<BR><BR>I am curious. Just discovered what mongrel is some days ago (no kidding, and I haven't been in a bubble these last months), and I wondered what do you use for deploying apps in production servers.<BR><BR>In my hosting they used to recommend an hybrid lighttpd + apache solution (apache proxying requests to lighttpd running my rails app in a different port, with a subdomain), but seems that now the latest trend is mongrel. <BR><BR>The docs say rails does not perform very well concurrently and thus is better to have a "cluster of mongrels". Any experience on this?<BR><BR>The amount of memory that it can use it's kind of scaring me, even if it's a very simple application that I'm thinking of, as it's a shared hosting and they have a "samurai process" which kills resource-consuming processes. <BR><BR>(I was thinking of creating one of those dynamic dns's and host it in my home server, but somehow I'm not fully convinced)<BR><BR>Anyone  feels like sharing experiences in deploying rails apps?<BR><BR><BR>Sole the Rails newbie :) <BR><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">_______________________________________________</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">chat mailing list</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><A href="mailto:chat@lrug.org">chat@lrug.org</A></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><A href="http://lists.lrug.org/listinfo.cgi/chat-lrug.org">http://lists.lrug.org/listinfo.cgi/chat-lrug.org</A></DIV> </BLOCKQUOTE></DIV><BR></DIV><BR><BR><BR></BODY></HTML>