You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Shane De Jager <sd...@intergage.co.uk> on 2005/07/22 15:53:42 UTC

Why mod_perl?

Hi

I am trying to speed up my CGI scripts on Apache Server 2. Can you tell me some reasons why u chose mod_perl instead of fastCGI?



-- 
Shane De Jager
Technical Developer

INTERGAGE
High-performance, updateable Web sites

Switchboard   +44(0)845 456 1022
Direct Dial      +44(0)1202 688 219
==
www.intergage.co.uk
sdejager@intergage.co.uk

Are you aware of our referral scheme? Learn how you could profit personally from passing us leads.

Click here to pass a referral: www.intergage.co.uk/referrals

Re: Why mod_perl?

Posted by Perrin Harkins <pe...@elem.com>.
On Fri, 2005-07-22 at 14:53 +0100, Shane De Jager wrote:
> I am trying to speed up my CGI scripts on Apache Server 2. Can you
> tell me some reasons why u chose mod_perl instead of fastCGI?

There are two main reasons to choose mod_perl, in my opinion:
- Access to Apache internals, giving you the same control you would have
when writing a C module for Apache.
- mod_perl is better maintained and documented, and more widely used.

If you don't need to do anything beyond speeding up your CGI scripts,
and you are able to get FastCGI working on your system fairly easily,
there's nothing really wrong with it.  You could also look at SpeedyCGI
if you are on a shared server.

- Perrin