Do you think that that is really a problem? I expect the check to succeed for 
the first connection already in like 99,9% of the cases because thanks to the 
round-robin we should have an equal distribution of requests over connections 
and if the connections actually start reaching this limit, then it won't take 
long until a `ConnectionPoolBusyException` is thrown at which case users have 
to increase the limits any way which will make the situation again less likely 
to occur.
That's why I also don't see the benefit in limiting the number of checks here. 
It would just reduce the time until an exception is thrown minimally, but it 
probably won't result in performance benefits for 99,9% of the requests.

I can add a dedicated counter though to the `Connection` object if you want to. 
Just wanted to better understand your reasoning here.

[ Full content available at: https://github.com/apache/tinkerpop/pull/1077 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to