Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister

Re: More than mod_cgi less than mod_perl.

by CountZero (Bishop)
on Jun 07, 2005 at 10:42 UTC ( #464222=note: print w/replies, xml ) Need Help??

in reply to More than mod_cgi less than mod_perl.

Provide clean memory on each request, so that dirty CGI scripts would also run
I think that is just what makes mod_perl so fast and mod_cgi so slow. Because you don't have to reload/re-compile the scripts every request, you get the speed-up. I do not know of a way to keep the compiled code around (other than turning it into an *.exe file) after having it run but still provide a clean slate of variables and state each time it runs again. It's an interesting idea though and perhaps worthwhile of further research.


"If you have four groups working on a compiler, you'll get a 4-pass compiler." - Conway's Law

  • Comment on Re: More than mod_cgi less than mod_perl.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://464222]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (7)
As of 2018-06-22 00:56 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (120 votes). Check out past polls.