TConnectionPool - Performance issue
Posted: 06.04.2022, 14:20
A connection is being checked twice for being dead (by calling FConnections.Rollback) . Both when it is Acquired and when it is being returned to
the pool (see TConnectionPool.ReturnToPool and TConnectionPool.Acquire ).
Calling rollback is expensive.
I believe that TConnectionPool.ReturnToPool call is redundant. And removing it will not change the way applications actually work.
Thanks,
Yoni
the pool (see TConnectionPool.ReturnToPool and TConnectionPool.Acquire ).
Calling rollback is expensive.
I believe that TConnectionPool.ReturnToPool call is redundant. And removing it will not change the way applications actually work.
Thanks,
Yoni