Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked

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]
[marioroy]: Thank you Lady_Aleena. I've bookmarked the page.
[1nickt]: folks, would you say that 1.0 is an integer ?
[Lady_Aleena]: 1nickt, I wouldn't, but I'm not normal.
LanX aggrees, LA isn't normal ;-P
[Lady_Aleena]: LanX, thanks bunches.
[Lady_Aleena]: Rigth now I'm ranting in my head about an old subject.
[1nickt]: Hm, that is, how to prevent Perl from turning 1.0 into 1? I feel sure this must be an faq, but am reading perlnum and not finding the answer ...
[Lady_Aleena]: 1nickt, why does it matter in this case?
[1nickt]: Hm, perhaps this? "Operators which expect an integer force the argument into the integer format."

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (9)
As of 2017-05-24 18:29 GMT
Find Nodes?
    Voting Booth?