Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Speed of Template

by EvilTypeGuy (Initiate)
on Feb 10, 2001 at 02:38 UTC ( [id://57507]=note: print w/replies, xml ) Need Help??


in reply to Speed of Template

Fetchrow hashref is pretty slow. Consider doing whatever structures you need yourself :) The DBI maintainer hasn't optimized fetchrow_hashref yet, which is one big reason why you shouldn't use it if you're concerned about speed. Also, if your site is mostly static (i.e. you only have a few dynamic pages) consider not using mod_perl. use something like fastcgi instead. mod_perl has a big memory/processor overhead because it launchers a new interpreter for every new httpd process. fastcgi takes a round robin approach where it has a pool of already compiled copies of your script where it connects a user to one of those copies in a never-ending circle...(is that confusing, I think so...:)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://57507]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (3)
As of 2024-04-25 23:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found