HttpAsyncClient resource consumption

2013-12-13 Thread Simon Kulessa
Hi, when a HttpAsyncClient is created I observe that for each client Java creates 3 Threads (see sample code below) and opens 6 TCP connection endpoints (this I observed by using TCPView from sysinternals) . These tcp connections seemed to be only used for local communication. If a request

Re: HttpAsyncClient resource consumption

2013-12-13 Thread Oleg Kalnichevski
On Fri, 2013-12-13 at 11:50 +0100, Simon Kulessa wrote: Hi, when a HttpAsyncClient is created I observe that for each client Java creates 3 Threads (see sample code below) and opens 6 TCP connection endpoints (this I observed by using TCPView from sysinternals) . Simon, By default

Re: HttpAsyncClient resource consumption

2013-12-13 Thread Simon Kulessa
Hello Oleg, thanks for your fast reply. I verified what you said, by running my sample under linux as well. It seems you are right that this seems to be something windows specific. You can force the pool to have one connection only but I doubt that your problem has anything to do with