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 4 of 4 Topic 3725 of 3876
Post > Topic >>

Re: Pooling of connections

by efriedNoSpam@[EMAIL PROTECTED] (EricF) Apr 24, 2008 at 04:19 AM

In article
<01577eab-d3de-4441-8622-2efdc2e3b8c3@[EMAIL PROTECTED]
>,
Taras_96 <taras.di@[EMAIL PROTECTED]
> wrote:
>On Apr 23, 10:41 pm, "joeNOS...@[EMAIL PROTECTED]
" <joe.weinst...@[EMAIL PROTECTED]
>
>wrote:
>
>>
>> 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
>
>So the cost saving is in the setup of a database connection, which
>includes opening a communication path between the two components
>(possibly using sockets), and authentication (although I guess that
>whatever is trying to acquire the database connection would still have
>to be authenticated)?

That's pretty much it. Creating the connection involves all that, and is
an 
expensive operation. The connection pool manager acquires the connection
and 
is authenticated, not the consumer of the connection. That authentication
is 
only done once.

Eric
 




 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 Wed Dec 3 22:20:58 CST 2008.