Ideas:
* Conn pool check in and out is expensive. Connection verification in a background thread is not fool proof. How about having multiple layers of checkout. The first checkout would do the verification and then return the connection. Then, in a ThreadLocal, you could check the connection in and out. When the thread ends then it checks that connection back into the pool. If the conn stays out in the 2nd level too long then it checks it back in to the main pool.
* Conn pool check in and out is expensive. Connection verification in a background thread is not fool proof. How about having multiple layers of checkout. The first checkout would do the verification and then return the connection. Then, in a ThreadLocal, you could check the connection in and out. When the thread ends then it checks that connection back into the pool. If the conn stays out in the 2nd level too long then it checks it back in to the main pool.
Version 4.1 last modified by Geoff Fortytwo on 14/05/2008 at 01:17
Document data
Attachments:
No attachments for this document