[Mongrel] Multiple apps on the same server, all should be able to survive slashdotting

Dee Zsombor dee.zsombor at gmail.com
Mon Mar 5 02:10:09 EST 2007


Alexey Verkhovsky wrote:
> We could use lighty + FastCGI combo, but it has a bad reputation. I 
> wonder if it's because of bugs in implementation, or it's just not 
> designed for these scenarios (if not, what's the limitation, and can it 
> be fixed?)

My personal experience points to the contrary, using FCGI listeners (if 
you have the option of dumping apache for lighttpd) works well. Just spawn 
the fcgi listeners externally from script/process/spinner, then tell only 
the ports to lighty where fcgi listeners run:

>  fastcgi.server              = ( ".fcgi" =>
>                                   ( "localhost-7000" => ( "host" => "127.0.0.1", "port" => 7001 ) ),
>                                   ( "localhost-7001" => ( "host" => "127.0.0.1", "port" => 7002 ) ),
>                                   ( "localhost-7002" => ( "host" => "127.0.0.1", "port" => 7003 ) )
>                                 )

Apache with fcgi is a pain true, but not with lighttpd.

Zsombor
-- 
Company  - http://primalgrasp.com
Thoughts - http://deezsombor.blogspot.com


More information about the Mongrel-users mailing list