Last post Jan 11, 2021 02:21 AM by yij sun
Jan 09, 2021 04:48 PM|vinodkpasi|LINK
There is any difference between Object Pooling and Connection Pooling?
Jan 09, 2021 04:56 PM|mgebhard|LINK
Keep in mind you are asking for definition which are easily found by reading the documentation or doing a quick Google search An connection pool an object pool that contains connections.
Jan 09, 2021 05:06 PM|vinodkpasi|LINK
Both looks very similar
Jan 11, 2021 02:21 AM|yij sun|LINK
Object Pooling is something that tries to keep a pool of objects in memory to be re-used later and hence it will reduce the load of object creation to a great extent.
It lets you control the number of connections you use.In this case the pool will decide whether the maximum is reached or not for creation of objects. When the maximum is reached, it makes the client wait until an object is returned to the pool, and then
gives the newly returned object to the waiting client.The drawback is, it increases the time complexity for heavy objects.
Connection pooling is process of taking a connection from a pool of connections, once connection is created in the pool any application can re-use that connection.You control the maximum number reached.
More details,you could refer to below articles: