From: David Masover Date: 2009-11-28T05:22:38+09:00 Subject: Re: Ruby a good choice for CGI? On Friday 27 November 2009 04:40:55 am Brian Candler wrote: > David Masover wrote: > >> *and* ongoing management and tuning - it handles dynamic pools of > >> processes for you > > > > So does Unicorn, or maybe I'm not understanding. > > http://unicorn.bogomips.org/ > > From reading this, and the FAQ/Philosophy, it sounds like you configure > it with a *static* sized pool. Ah. Thanks for the clarification. > That's a reasonable approach for many apps, whatever server you deploy > them under. OTOH that won't work for apps which return large or infinite > streams. Yes, I think that's what Rainbows is for. But I haven't looked into that in much depth. From the readme: "We aim to support as many concurrency models as we can because they all suck; differently." > Also, as far as I can tell, to use Unicorn properly requires you to use > nginx (at least, I don't know if apache can proxy to a unix domain > socket, and the documentation doesn't seem to mention apache) It can also listen via TCP. > On the plus side: you do get very fine-grained control of the > deployment. Yes, that was the big win for me.