Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^5: Perl is dying

by perrin (Chancellor)
on Jul 14, 2006 at 20:21 UTC ( #561317=note: print w/ replies, xml ) Need Help??


in reply to Re^4: Perl is dying
in thread Perl is dying

Yeah, I don't recommend using mod_perl to serve static files on a site with much traffic. You should use a reverse proxy setup or similar for that, as described in the mod_perl docs, or use FastCGI. The nice thing about FastCGI's new popularity is it means ISPs are getting pressure to support it.


Comment on Re^5: Perl is dying
Re^6: Perl is dying
by bart (Canon) on Jul 14, 2006 at 21:50 UTC
    You should use a reverse proxy setup or similar for that, as described in the mod_perl docs, or use FastCGI.
    Or both. There's a new kid on the web servers block, putting pressure onto Apache: Lighttpd AKA "Lighty". It doesn't have mod_perl, obviously (as mod_perl is Apache technology), but instead, it puts a heavy focus onto FastCGI and proxying.
      How is that "both"? It runs FastCGI in essentially the same way as Apache, doesn't it?
        You could say that, yes, except that until recently, Apache's support for FastCGI was crap. The technology was essentially abandoned for 5 years, until they picked it up again a few months ago.

        Why? Because they can feel the pressure, from Lighttpd, for one.

        Other platforms, like Zope, Ruby On Rails, and even PHP, apparently prefer to use FastCGI or similar technologies to an embedded interpreter. I think it would be a better alternative to mod_perl, too, because, well, if each website has its own persistent Perl environment (which I can envision to actually be much like mod_perl), they can't crash each other. The scripts interpeter would be running independently of the webserver, so it can't touch the internals of the webserver either.

        As a whole, this looks to me like it would be a lot like the "mod_perl light" the OP was dreaming out loud about.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (6)
As of 2014-10-24 08:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (131 votes), past polls