• Top Posts

    What is the difference between Object pooling and Connection pooling in C#

    • The object pool implementation will increase the size of the pool up to the specified maximum. When the maximum is reached,instead of throwing an exception, 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 connection pool implementation does not have a maximum size parameter – it will keep creating new connections to meet demand (eventually it will hit some system limit and the request will fail in some way that isn’t specified.

    No comments

    Post Top Ad

    ad728

    Post Bottom Ad

    ad728