Problem solve Get help with specific problems with your technologies, process and projects.

Difference between connection and object pooling

Is connection pooling merely an example of object pooling, or are both terms referring to the same thing?
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 last published in March 2004

Dig Deeper on Microservices pattern, platforms and frameworks



Find more PRO+ content and other member only offers, here.

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

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

Please create a username to comment.