in reply to Fast CGI or mod_perl
FastCGI, if used correctly, allows for some fine tuning of your server. You can say, please dedicate 40 processes to this cgi, 2 processes to that cgi, etc. I would imagine, just from the layout of FastCGI, that it would run more quickly and take less memory thay mod_perl Apache::PerlRun. The latter has to go through it's hooks, share all loaded modules with anything else that is going to run (still require new modules if necessary), do the hit, and then tear down the package space when it is done. The FastCGI stays inside the isolated CGI and simply loops on connections. No tear down process, no other hooks, no shared modules are necessary.
That all said, mod_perl does handle a lot for you and you don't have to worry about fine tuning your webserver as everything is handled by an already running perl.
my @a=qw(random brilliant braindead); print $a[rand(@a)];
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Fast CGI or mod_perl
by perrin (Chancellor) on Dec 08, 2001 at 04:14 UTC | |
|
Re: Re: Fast CGI or mod_perl
by ask (Pilgrim) on Dec 08, 2001 at 05:36 UTC |