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: [email protected] For additional commands, e-mail: [email protected]
