On Fri, Jun 24, 2011 at 12:17 PM, Perrin Harkins <per...@elem.com> wrote:
> > > Are you comparing that to mod_perl with a proxy server in front of it? > That is the equivalent architecture. If you remove the proxy, > mod_perl becomes faster but the scalability suffers. I wouldn't > recommend anyone run mod_perl without a frontend proxy of some kind. > > This is exactly what I saw. Better FastCGI support for Apache would be great. > I have some FastCGI programs, let me see if I could pack them and upload to CPAN. > > You actually can access efficient file serving through the mod_perl > API, but I agree, auth in the app framework is often a bad solution. > My favorite solution so far has been to use things like mod_auth_tkt > which let you write a complex auth system in your favorite language > and then check credentials from an efficient C module that can guard a > static file directory. > > - Perrin > Totally agree. Moving system-wide operations to C modules as far as possible.