[ https://issues.apache.org/jira/browse/HTTPCLIENT-1404?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Oleg Kalnichevski resolved HTTPCLIENT-1404. ------------------------------------------- Resolution: Won't Fix > Provide connection pool usage statistics for PoolingClientConnectionManager > --------------------------------------------------------------------------- > > Key: HTTPCLIENT-1404 > URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1404 > Project: HttpComponents HttpClient > Issue Type: New Feature > Components: HttpClient (classic) > Reporter: Allen Wang > Priority: Minor > Fix For: Future > > > For clients that have high request rate to their corresponding services, it > is critical that the client has an efficient connection pool and reuse free > connections as often as possible, and is free from bugs like not releasing > resources from http response that causes low reuse of connections and timed > out waiting for connection. To meet that requirement, the developers need to > have insight of current state of the connection pool. > Connection pool, like any object pool or cache, needs to have statistics for > fine tuning, like Guava CacheBuilder that provides statics for cache hit > ratio and many others. > It will be very beneficial if the PoolingClientConnectionManager provides > following statistics: > - count of occurrences that a free entry is obtained when requesting a > connection > - count of occurrences that a new entry is created > - count of occurrences that an entry is released > - count of occurrences that an entry is deleted > I was able to provide such statistics for the deprecated > ThreadSafeClientConnManager in Ribbon: > https://github.com/Netflix/ribbon/pull/47 > But it seems that PoolingClientConnectionManager does not provide such hooks. -- This message was sent by Atlassian JIRA (v6.3.15#6346) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@hc.apache.org For additional commands, e-mail: dev-h...@hc.apache.org