• 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

Attachments 0

No attachments for this document
Website Top
Send Me Mail!:
   g42website4 AT
My Encyclopaedia Blog

Creator: Geoff Fortytwo on 2008/05/12 01:16
Copyright 2004-2007 (c) XPertNet and Contributing Authors