[Catalyst] Re: fcgid
melo at simplicidade.org
Wed Oct 1 12:15:26 BST 2008
On Sep 30, 2008, at 1:14 AM, Aristotle Pagaltzis wrote:
> * John Lee <jlee+catalyst at pangeamedia.com> [2008-09-29 16:05]:
>> What's the general concensus in the catalyst community
>> nowadays? Is mod_fastcgi preferred at large over mod_fcgid
>> these days?
> Personally? ::Engine::HTTP::Prefork + ::Plugin::Static::Simple.
+1 for ::Engine::HTTP::Prefork.
I use both lighttpd and nginx as a front-end (all static content is
served directly from them) and only dynamic requests reach the backend
I find the use of pure HTTP protocol (instead of fastcgi for example)
a better compromise.
For the longest time (until I discovered ::Prefork) I used a minimal
compilation of Apache+mod_perl that was very acceptable in terms of
memory usage, but ::Prefork is much easier to install.
For complex configurations I like to have a perlbal in the mix. With
it, and some custom plugin work, I was able to do live updates, where
parts of your client base are each one running a different version of
your app. You should not abuse this, but it is very good to slowly
upgrade your user base to a new release. The trick I used was to
switch the user (x % of them) on login to the new code-base.
Anyway, the use of HTTP allows me to do this kind of traffic
XMPP ID: melo at simplicidade.org
More information about the Catalyst