Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid

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.

Replies are listed 'Best First'.
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?

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (2)
As of 2018-05-20 18:00 GMT
Find Nodes?
    Voting Booth?