Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much

Re^8: mod_perl, and weird caching

by ultranerds (Friar)
on Feb 05, 2014 at 07:55 UTC ( #1073525=note: print w/replies, xml ) Need Help??

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


Would that work though, if we wanted caching on multiple sites? We currently have about 5 sites we'd love to get onto mod_perl (or some caching system)



Replies are listed 'Best First'.
Re^9: mod_perl, and weird caching
by afoken (Abbot) on Feb 05, 2014 at 19:04 UTC

    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.


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

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (10)
As of 2019-02-19 10:30 GMT
Find Nodes?
    Voting Booth?
    I use postfix dereferencing ...

    Results (104 votes). Check out past polls.

    • (Sep 10, 2018 at 22:53 UTC) Welcome new users!