Re: [htmltmpl] speeding up an h-t website on a windoze box
Brought to you by:
samtregar
From: David H. <da...@ho...> - 2004-04-17 21:43:35
|
On 17 Apr 2004, at 21:56, Sam Tregar wrote: > On Sat, 17 Apr 2004, David Hodgkinson wrote: > >> The compilation of the code is what's killing you. > > Don't be so sure. All it takes is one missed index in a critical > table and all the Perl caching in the world won't save you! Heh, OK, I was presuming the ability to run some kind of process monitor and making the first cut ;-) Let's insert the caveats "assuming a sensible database..." and also a "...then given a non-compute intensive perl layer..." My best speedup on a gig was 1000x. 10x from adding an index, 10x from mod_perling and 10x from making one machine into 5 dual process boxes. PS: I'm usually a Template Toolkit user, but my current work was originally H::T and CGI::Application oriented. I've thrown HTML::FillInForm and it's rather sweet. H::T does just enough in just the right way. -- Dave Hodgkinson CTO, Rockit Factory Ltd. http://www.rockitfactory.com/ Web sites for rock bands |