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.

Dig Deeper on Topics Archive