Github user jorgebay commented on the issue:

    https://github.com/apache/tinkerpop/pull/903
  
    I think we should abandon the idea about removing connections from a pool 
and the `ProxyConnection`, there is no point and it's not a good pattern.
    
    All connections in the pool are available and it's up to the pool to 
balance the load (incoming send requests) between the connections not restrict 
concurrent operations, at least for now.
    
    > the connection cannot be used while it is in use
    
    That is incorrect, the underlying transport (websocket) supports just 1 
sending at a time (not 1 sending and 1 receive at a time). So we limit 
concurrency **on the connection**, by sending serially all incoming send 
requests. **We should never use 1 send followed by 1 receive call**, we should 
send items serially and always be receiving in the background.


---

Reply via email to