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.
Version 6.1 last modified by Geoff Fortytwo on 11/07/2010 at 19:22
Document data
Attachments:
No attachments for this document