[ 
https://issues.apache.org/jira/browse/HTTPCLIENT-2024?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17285478#comment-17285478
 ] 

Oleg Kalnichevski commented on HTTPCLIENT-2024:
-----------------------------------------------

[~romain.manni-bucau] It may look inconsistent only if one does something 
monumentally dumb as indiscriminately dropping all connections after a single 
message exchange.

At the same the whole concept  of a zero time to live setting does not seem to 
strike you as bizarre, but so be it.

I gave you a simple way to drop connections selectively based on a route or 
some other attribute. If you want to drop connections indiscriminately and have 
no connection pooling at all, just use a custom connection manager that creates 
a new connection on each new lease and drops them upon release.

Anyway, as I have said before instead of hijacking an unrelated bug report feel 
free to raise a normal change request. There is still a bit of ti,me before 5.1 
GA.

Oleg

> NoHttpResponseException on high Load
> ------------------------------------
>
>                 Key: HTTPCLIENT-2024
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-2024
>             Project: HttpComponents HttpClient
>          Issue Type: Bug
>          Components: HttpClient (classic)
>    Affects Versions: 4.5.7
>            Reporter: shatk
>            Priority: Major
>              Labels: camel-http4,, http-client
>
>  
> Getting _NoHttpResponseException : host:port failed to respond_  on high 
> Load. 
> This is happening for httpclient-4.5.7  as well as httpclient-4.5.10  version 
> of apache http client on high load [100 TPS]
>  Apache http client is used internally by camel http4. 
> [https://github.com/HydAu/Camel/blob/master/components/camel-http4/src/main/java/org/apache/camel/component/http4/HttpComponent.java]
>  > camel http4 connection config :
> connectionsPerRoute : 100
> maxTotalConnections : 1000 
>  
>  
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

Reply via email to