Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Java Databases > Re: Pooling of ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 4 Topic 3725 of 3800
Post > Topic >>

Re: Pooling of connections

by "joeNOSPAM@[EMAIL PROTECTED] " <joe.weinstein@[EMAIL PROTECTED] > Apr 23, 2008 at 07:41 AM

On Apr 22, 11:49 pm, Taras_96 <taras...@[EMAIL PROTECTED]
> wrote:
> Hi all,
>
> I've read a few articles about how pooled connections are more
> efficient because you don't need to repeatedly setup/teardown a
> connection - you just acquire connection from the pool.
>
> Exactly what steps in setting up/tearing down a connection are skipped
> by acquiring an already existing connection? Perhaps the steps in
> establi****ng/tearing down a connection would help in answering this
> question?
>
> Thanks
>
> Taras

The process of making a new connection is slow. It requires opening
a new socket from the client to the DBMS, which may require the DBMS
to spawn a new process, sending connection credentials, which the
DBMS must verify and respond to before any real work can be done.
A restaurant would be much less practical if it hired a waitress for
every new customer and terminated her when she finishes collecting
the bill.

Joe Weinstein at BEA Systems
 




 4 Posts in Topic:
Pooling of connections
Taras_96 <taras.di@[EM  2008-04-22 23:49:04 
Re: Pooling of connections
"joeNOSPAM@[EMAIL PR  2008-04-23 07:41:23 
Re: Pooling of connections
Taras_96 <taras.di@[EM  2008-04-23 21:09:25 
Re: Pooling of connections
efriedNoSpam@[EMAIL PROTE  2008-04-24 04:19:28 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Jul 25 17:34:02 CDT 2008.