Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^2: Using a single database handle or multiple handles

by mpeppler (Vicar)
on Oct 24, 2012 at 12:16 UTC ( #1000619=note: print w/replies, xml ) Need Help??


in reply to Re: Using a single database handle or multiple handles
in thread Using a single database handle or multiple handles

Connecting to a modern Sybase server can cost between 100 to 300ms, depending on the amount of stuff that each connection needs to set up (e.g. if there are a lot of roles associated with the login being used, then this will take additional time).

It also puts a fairly heavy load on the server (we had systems with > 200k new connections per day which were showing very serious performance issues).

So I would always strive to limit the number of connections that you create, both for speed, and for load on the server.

Michael

  • Comment on Re^2: Using a single database handle or multiple handles

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1000619]
help
Chatterbox?
[Corion]: karlgoethebier: Heh - naah, I think they are just very fresh out of university. At least they seem to have hired one person as key accountant who has done enterprise consulting etc. before :)
[Corion]: erix: It wouldn't be nice of me to publically shame and name ;)
[Corion]: I'm interested in how their product actually works. It uses websockets between two non-browser components, so there are some weird technology decisions, or rather, I assume the product started out as something completely different :)
[erix]: fair enough

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (10)
As of 2018-04-19 12:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?