Ask the Expert

Difference between connection and object pooling

Is connection pooling merely an example of object pooling, or are both terms referring to the same thing?

    Requires Free Membership to View

Object pools are software constructs designed to optimize the use of limited resources in order to meet the demands of client requests by "pooling" objects in a container and reusing these pooled objects as needed.

Connection pools are container-managed pools of connections to a database, directory-service, message-store, or other connection-oriented entity. Connection pools are usually implemented using some sort of object pool. So in that respect, connection pools are specific instances of object pools, however it is possible to implement a connection pool without using an object pool.

This was first published in March 2004

There are Comments. Add yours.

 
TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to: