perl-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David E. Wheeler" <da...@kineticode.com>
Subject Re: mod_perl 2.0.6
Date Thu, 17 Feb 2011 18:27:04 GMT
On Feb 17, 2011, at 10:17 AM, Perrin Harkins wrote:

> It's only a guess, and I don't care enough to go through the code for
> evidence.  I think people generally underestimate the complexity of
> HTTP and the difficulty of writing a bug-free network server based on
> it.  Apache HTTPD is the result of years worth of debugging, and I
> wouldn't trade it for a recently developed server.

Sure, that's reasonable.

> I also remember Matt Sergeant discovering that with AxKit if he
> created a mod_perl alternative that had no hooks at all for the Apache
> API stages (e.g. auth) that it was measurably faster than mod_perl.  I
> don't think we'd want to trade the hooks for more speed though.

Well yes. But Plack doesn't have those hooks because its architecture is completely different.
You can get the same effect as the hooks by using nested middleware.

> All that being said, there's always room for improvement in
> performance and I'm sure mod_perl could be faster with some
> optimization work.

True for any software, of course. :-)

Best,

David



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org


Mime
View raw message