On 01/11/13 00:10, Rémi Cura wrote:
Hey,
I might be completly wrong, but when you say
"get the connections to close if they are not being used",
I'd say that it is a bad client design to not close a connection when it doesn't need it anymore.
The client should retrieve the data or close when not using after a certain amount of time.
What you are trying to do is garbage collector.
Cheers,
Rémi-C
making & breaking connections costs elapsed time & processor activity etc. - which is why they should be pooled for reuse
Cheers,
Gavin