Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^9: mod_perl, and weird caching

by afoken (Parson)
on Feb 05, 2014 at 19:04 UTC ( #1073588=note: print w/ replies, xml ) Need Help??


in reply to Re^8: mod_perl, and weird caching
in thread mod_perl, and weird caching

You should really consider using FastCGI. FastCGI keeps Perl and your program in memory, like mod_perl does. But FastCGI runs in a separate process, one per application. This keeps different configurations in different processes. You can even use different user accounts for different applications. A crashing application does not kill the webserver. FastCGI does not depend on one specific webserver, any FastCGI compatible webserver will do. Of course, FastCGI has the disadvantage of having several instances of Perl running instead of just one (so it may use more memory). And it has a little bit more overhead because it needs inter-process communication between webserver and perl, where mod_perl just calls functions.

Alexander

--
Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)


Comment on Re^9: mod_perl, and weird caching

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1073588]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (11)
As of 2014-09-02 09:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite cookbook is:










    Results (21 votes), past polls