jira-importer opened a new issue, #874:
URL: https://github.com/apache/httpcomponents-core/issues/874

   **[Dmitry 
Potapov](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=hirthwork)**
 opened 
**[HTTPCORE-374](https://issues.apache.org/jira/browse/HTTPCORE-374?redirect=false)**
 and commented
   
   Currently ConnPoolControl.getStats(HttpRoute) requires caller to store known 
routes somewhere to get complete detailed connections stats, for example, when 
checking for slow backends.
   
   My suggestion is to add Set\<T> getRoutes(); function to ConnPoolControl 
which will return snapshot of all routes served by this pool.
   With this function it will be able to get all routes stats, detect the weak 
links among backends and report them.
   
   I understand, that this change will break compatibility and won't be shipped 
with any 4.3.x version, but can we have this in 4.4?
   
   
   ---
   
   **Attachments:**
   - 
[01-PoolingHttpClientConnectionManager-getRoutes.patch](https://issues.apache.org/jira/secure/attachment/12653093/01-PoolingHttpClientConnectionManager-getRoutes.patch)
 (_4.22 kB_)
   - 
[01-PoolingNHttpClientConnectionManager-getRoutes.patch](https://issues.apache.org/jira/secure/attachment/12653094/01-PoolingNHttpClientConnectionManager-getRoutes.patch)
 (_790 bytes_)
   - 
[httpasyncclient-getRoutes.patch](https://issues.apache.org/jira/secure/attachment/12629774/httpasyncclient-getRoutes.patch)
 (_2.44 kB_)
   - 
[httpasyncclient-getRoutes.patch](https://issues.apache.org/jira/secure/attachment/12629533/httpasyncclient-getRoutes.patch)
 (_2.44 kB_)
   - 
[httpclient-getRoutes.patch](https://issues.apache.org/jira/secure/attachment/12629773/httpclient-getRoutes.patch)
 (_5.75 kB_)
   - 
[httpclient-getRoutes.patch](https://issues.apache.org/jira/secure/attachment/12629532/httpclient-getRoutes.patch)
 (_5.72 kB_)
   - 
[httpcore-getRoutes.patch](https://issues.apache.org/jira/secure/attachment/12629772/httpcore-getRoutes.patch)
 (_4.24 kB_)
   - 
[httpcore-getRoutes.patch](https://issues.apache.org/jira/secure/attachment/12629531/httpcore-getRoutes.patch)
 (_4.50 kB_)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to