hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dan Checkoway <dchecko...@gmail.com>
Subject Re: HTTP Connection Pool Settings
Date Tue, 08 May 2012 10:58:18 GMT
How many different "routes" do you expect to use?

On Mon, May 7, 2012 at 7:21 PM, apachehttpdev07 <tenzing.wangdi@gmail.com>wrote:

>
> We are using Apache Http Client 4.1.3 in production systems now. I am
> using a
> ThreadSafeClientConnection Manager to pool http connections. We have a
> concurrent user base of 126 users per second hitting 2 JVMs in cluster.
> What
> I need to know is what should be the value of Max Total and
> DefaultMaxPerRoute. I have set it to 1000 per JVM box. Is this more than
> enough.
>
> ThreadSafeClientConnManager cm = new ThreadSafeClientConnManager();
> cm.setMaxTotal(maxTotal);
> cm.setDefaultMaxPerRoute(defaultMaxPerRoute);
>
> If you need anymore information we will readily provide.
> --
> View this message in context:
> http://old.nabble.com/HTTP-Connection-Pool-Settings-tp33763553p33763553.html
> Sent from the HttpClient-User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
> For additional commands, e-mail: httpclient-users-help@hc.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message