Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight

Re: Does anyone have a list of 'donts' when optimizing?

by wardk (Deacon)
on Apr 16, 2002 at 14:18 UTC ( #159490=note: print w/replies, xml ) Need Help??

in reply to Does anyone have a list of 'donts' when optimizing?

one "DO" comes immediately to mind as I have dealt with it recently with a system that went from reasonably few transactions (departmental) to high volume (enterprise wide usage).

If using a database, create as few connections as possible. DB connections are expensive and in a high transaction CGI (as well as non-CGI) scenario, creating multiple connections where less (one is best) will do will have a significant impact on your response time, as well as anyone else you may be sharing db resources with (like listeners).

Of course this suggestion (as well as many others you may receive on this) is really valid for all languages.

  • Comment on Re: Does anyone have a list of 'donts' when optimizing?

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://159490]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (8)
As of 2018-06-17 22:25 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (107 votes). Check out past polls.