Re: Possibility of using non-blocking calls for connection pools?

2012-01-22 Thread Dvora
: http://old.nabble.com/Possibility-of-using-non-blocking-calls-for-connection-pools--tp33093916p33182743.html Sent from the HttpClient-User mailing list archive at Nabble.com. - To unsubscribe, e-mail: httpclient-users-unsubscr

Re: Possibility of using non-blocking calls for connection pools?

2012-01-22 Thread Dan Checkoway
://old.nabble.com/Possibility-of-using-non-blocking-calls-for-connection-pools--tp33093916p33182743.html Sent from the HttpClient-User mailing list archive at Nabble.com. - To unsubscribe, e-mail: httpclient-users-unsubscr...@hc.apache.org

Re: Possibility of using non-blocking calls for connection pools?

2012-01-22 Thread Dvora
of ways I might be able to work around this bottleneck otherwise? Thanks! Dan Checkoway -- View this message in context: http://old.nabble.com/Possibility-of-using-non-blocking-calls-for-connection-pools--tp33093916p33182743.html Sent from the HttpClient-User mailing list archive

Re: Possibility of using non-blocking calls for connection pools?

2012-01-07 Thread Vasile Alin
How about something like a BlockingQueue made for each route, with a per-route limit? On 7 January 2012 00:20, sebb seb...@gmail.com wrote: On 6 January 2012 22:07, Ken Krugler kkrugler_li...@transpac.com wrote: On Jan 6, 2012, at 1:01pm, Oleg Kalnichevski wrote: On Fri, 2012-01-06 at 11:06

Re: Possibility of using non-blocking calls for connection pools?

2012-01-07 Thread Oleg Kalnichevski
On Sat, 2012-01-07 at 13:19 +0200, Vasile Alin wrote: How about something like a BlockingQueue made for each route, with a per-route limit? Just one Queue instance may be not enough to contain all the state information of a per route connection pool. The best way to find it out, though, is

Possibility of using non-blocking calls for connection pools?

2012-01-06 Thread Dan Checkoway
Hello, I have an app that needs to make concurrent HTTP requests to a web service using persistent (keepalive) connections. I'm using ThreadSafeClientConnManager. I ran into a performance bottleneck, and I believe I've pinpointed the issue... Affects Version(s): HttpCore 4.1.3, HttpClient

Re: Possibility of using non-blocking calls for connection pools?

2012-01-06 Thread Oleg Kalnichevski
On Fri, 2012-01-06 at 11:06 -0500, Dan Checkoway wrote: Hello, I have an app that needs to make concurrent HTTP requests to a web service using persistent (keepalive) connections. I'm using ThreadSafeClientConnManager. I ran into a performance bottleneck, and I believe I've pinpointed the

Re: Possibility of using non-blocking calls for connection pools?

2012-01-06 Thread Ken Krugler
On Jan 6, 2012, at 1:01pm, Oleg Kalnichevski wrote: On Fri, 2012-01-06 at 11:06 -0500, Dan Checkoway wrote: Hello, I have an app that needs to make concurrent HTTP requests to a web service using persistent (keepalive) connections. I'm using ThreadSafeClientConnManager. I ran into a

Re: Possibility of using non-blocking calls for connection pools?

2012-01-06 Thread sebb
On 6 January 2012 22:07, Ken Krugler kkrugler_li...@transpac.com wrote: On Jan 6, 2012, at 1:01pm, Oleg Kalnichevski wrote: On Fri, 2012-01-06 at 11:06 -0500, Dan Checkoway wrote: Hello, I have an app that needs to make concurrent HTTP requests to a web service using persistent (keepalive)