HP3000-L Archives

August 2000, Week 5

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Mark Bixby <[log in to unmask]>
Reply To:
Mark Bixby <[log in to unmask]>
Date:
Thu, 31 Aug 2000 20:57:31 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (25 lines)
Mark Wonsil wrote:
>
> Webreference.com sent an email with information on how one can run Perl
> scripts outside the web-server's space.  This Perl mod keeps a Perl instance
> running all of the time so it doesn't have to start one with each request.
> I'm not sure what kind of porting effort it would require.  The topic seemed
> appropriate to those who posted earlier about FastCGI vs. MOD_Perl etc.
>
> Here's the URL (ends with .pm so watch the wrap!)
>
> http://search.cpan.org/doc/HORROCKS/CGI-SpeedyCGI-1.8.3/lib/CGI/SpeedyCGI.pm

I've never heard of this one until now.  Thanks for the reference!

I suspect SpeedyCGI.pm will probably be slower than mod_perl, because a
fork()/exec() still needs to be done as part of regular web server CGI spawning
to run a minimal C program which then communicates with the persistent Perl
process running outside of the web server.

While not as fast as mod_perl, SpeedyCGI would offer better protection against
misbehaving Perl scripts which under mod_perl can seriously affect the
operation of your web server.

- Mark B.

ATOM RSS1 RSS2