hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oleg Kalnichevski (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HTTPCORE-374) ConnPoolControl should provide list of known routes
Date Wed, 19 Feb 2014 12:43:19 GMT

    [ https://issues.apache.org/jira/browse/HTTPCORE-374?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13905368#comment-13905368

Oleg Kalnichevski commented on HTTPCORE-374:

Hi Dmitry 

Unfortunately we cannot change interfaces in a minor release. There are two way to go about
the problem. (1 add new methods to implementation classes only or (2) deprecate ConnPoolControl
in favor of a new interface (ConnPoolControl2 or some such).


> ConnPoolControl should provide list of known routes
> ---------------------------------------------------
>                 Key: HTTPCORE-374
>                 URL: https://issues.apache.org/jira/browse/HTTPCORE-374
>             Project: HttpComponents HttpCore
>          Issue Type: Improvement
>          Components: HttpCore, HttpCore NIO
>    Affects Versions: 4.4-alpha1
>            Reporter: Dmitry Potapov
>            Priority: Trivial
>         Attachments: httpasyncclient-getRoutes.patch, httpclient-getRoutes.patch, httpcore-getRoutes.patch
> 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?

This message was sent by Atlassian JIRA

To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org

View raw message