[LRUG] Mongrel
Jonathan Conway
jonathan at agileevolved.com
Thu Nov 23 02:42:58 PST 2006
We moved to mongrel a long time ago and it's made our lives a lot
easier. No more
fcgi weirdness, memory leaks and fcgi processes just dying suddenly.
Unfortunately Rails isn't thread safe unlike some other Ruby web
frameworks and because
of that you'll need more than one mongrel if you're going to be
serving anything
substantial or doing anything that involved file uploads.
We've got two different deployment configurations going on at the
minute, the first is Apache 2.2
proxying to mongrel though not as resource efficient, I've found it
rock solid. The second configuration
is Nginx proxying to mongrel which we've found stable and far more
easier on system resources than Apache.
Cheers
Jonathan
T. +44 (0)20 7099 7486
E.jonathan at agileevolved.com
W.http://www.agileevolved.com
On 23 Nov 2006, at 09:33, soledad penadés | sole wrote:
> Hi guys!
>
> 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.
>
> 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.
>
> The docs say rails does not perform very well concurrently and thus
> is better to have a "cluster of mongrels". Any experience on this?
>
> 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.
>
> (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)
>
> Anyone feels like sharing experiences in deploying rails apps?
>
>
> Sole the Rails newbie :)
> _______________________________________________
> chat mailing list
> chat at lrug.org
> http://lists.lrug.org/listinfo.cgi/chat-lrug.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lrug.org/pipermail/chat-lrug.org/attachments/20061123/222901f3/attachment-0003.html>
More information about the Chat
mailing list