Re: [Templates] Newbie TT2 with CGI or mod_perl2 question?

[prev] [thread] [next] [Date index for 2004/07/08]

From: Mark Mills
Subject: Re: [Templates] Newbie TT2 with CGI or mod_perl2 question?
Date: 17:57 on 08 Jul 2004
Randal L. Schwartz wrote:

>>>>>>"Todd" == Todd Freeman <freeman@xxxxxxx.xxx> writes:
>>>>>>            
>>>>>>
>
>Todd> Heh... I once said that... then I saw the performance numbers
>Todd> from our Apache2 test box...
>
>By *performance*, are you talking about identical configurations?
>Apache2 has more complexity.  Just pure information theory says it
>should run slower, unless it has some optimizations not present
>in apache1.
>  
>
Pure information theory has no place in programming, Randal. :) If that 
was the way of the world people would be using C and not perl!

http://www.zeuscat.com/andrew/work/aprbench/

A2 has a more complex structure but a vastly improved internal path. Per 
request the process touches a lot less code, and the code it does 
execute was specially tweaked based on what they always wanted to do 
with A1 but couldn't.

More to the real point, it is better designed to hand off major tasks to 
modules like mod_perl and does a better job of wrapping their output too.

... all that said, still...

Unless they are doing a site for the H&R Block at tax-time or for a 
real-time World-cup soccer site as the tourney heats up I doubt a normal 
human would ever know which one was running by performance numbers. 
Optimizing up front is a great way to waste time, it is poor programming 
practice. The only real reason I know of to go Apache2 right now is 
mod_deflate ... easy bandwidth savings are worth the one time extra 
effort to get over the mod_perl2 hump.

--mark mills
Xodiax Engineering

_______________________________________________
templates mailing list
templates@xxxxxxxxxxxxxxxx.xxx
http://lists.template-toolkit.org/mailman/listinfo/templates

(message missing)

Re: [Templates] Newbie TT2 with CGI or mod_perl2 question?
merlyn (Randal L. Schwartz) 17:03 on 08 Jul 2004

Re: [Templates] Newbie TT2 with CGI or mod_perl2 question?
merlyn (Randal L. Schwartz) 17:32 on 08 Jul 2004

Re: [Templates] Newbie TT2 with CGI or mod_perl2 question?
Mark Mills 17:57 on 08 Jul 2004

Re: [Templates] Newbie TT2 with CGI or mod_perl2 question?
merlyn (Randal L. Schwartz) 21:08 on 08 Jul 2004

Generated at 08:56 on 15 Mar 2005 by mariachi v0.52