You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Jeff Peng <da...@hotmail.com> on 2006/01/14 12:34:10 UTC
mod_perl or fastcgi
Hi,lists,
We have some web applications in the schedule of development.We have not
decided under which mode to run the services.They are some applications
relative to email system.I think mod_perl or fastcgi should be the best
choice.Is there anyone who have those experiences could give me some
advice?What are the advantage and disadvantage about both of them?Are there
any docs that describe the comparing about them?Thanks.
--Jeff
_________________________________________________________________
与联机的朋友进行交流,请使用 MSN Messenger: http://messenger.msn.com/cn
Re: mod_perl or fastcgi
Posted by Frank Wiles <fr...@wiles.org>.
On Sat, 14 Jan 2006 11:34:10 +0000
"Jeff Peng" <da...@hotmail.com> wrote:
> Hi,lists,
>
> We have some web applications in the schedule of development.We have
> not decided under which mode to run the services.They are some
> applications relative to email system.I think mod_perl or fastcgi
> should be the best choice.Is there anyone who have those experiences
> could give me some advice?What are the advantage and disadvantage
> about both of them?Are there any docs that describe the comparing
> about them?Thanks.
Well the biggest difference that impact most people is that you'll
probably have an easier time finding a shared web hosting provider
that supports FastCGI vs mod_perl. But if you're running on your
own server this isn't an issue.
FastCGI's only real feature is that it allows you to run your
CGI application in a persistant state to avoid the
fork-compile-execute performance problem.
Whereas mod_perl can also do this via ModPerl::Registry,
ModPerl::PerlRun, etc depending on your needs... but mod_perl also
provides a ton of other useful features not available to most other
web development environments. Some of these are: having full access to
the Apache API, ability to filter the I/O of other applications,
ability to change how URIs are mapped to files on the filesystem,
ability to use protocols other than HTTP, etc, etc.
While FastCGI might be the right choice your *these* particular
applications, mod_perl in general is typically a better choice for
developers that build more complex systems or just a greater
number of systems in general.
---------------------------------
Frank Wiles <fr...@wiles.org>
http://www.wiles.org
---------------------------------