Re: Thread Contention (due to use of proxys) in HttpClient 4.3

2014-05-12 Thread Jaikit Savla
I have seen similar issues sometimes - while running with 512 concurrent connections using HttpClient 4.3  (Noticed all threads stuck in  java.lang.reflect.Proxy.getProxyClass0 in jstack log). I found some discussion online regarding improving the performance in latest jre but have not tried run

Re: Thread Contention (due to use of proxys) in HttpClient 4.3

2014-05-12 Thread Oleg Kalnichevski
On Mon, 2014-05-12 at 00:13 +0100, Daniel Feist wrote: > Hi, > > I'm using HttpClient in a situation where high concurrency is expected > and am doing some testing/benchmarking using gatling-tool. > > While performance isn't bad, things aren't scaling as well as I'd have > hoped. (I'm running on

Re: Thread Contention (due to use of proxys) in HttpClient 4.3

2014-05-12 Thread Oleg Kalnichevski
On Mon, 2014-05-12 at 13:21 +0100, Daniel Feist wrote: > >> 2) Can I expect 4.2 to scale better? > > > > I do not think so. In my tests HC 4.3 performs better than 4.2. There > > have also been reports > > Even with high concurrency of say 200 and high TPS, for example in a > http proxy scenario?

RE: httpacyncclient - calculate upload speed

2014-05-12 Thread Boxer, Aaron
On Thu, 2014-05-08 at 18:59 +, Boxer, Aaron wrote: > I am sending files and receiving callbacks when the upload is > completed. Send requests happen at random times. How do I calculate the > upload speed at a given time? > Use a custom HttpAsyncRequestProducer. Thanks, Oleg. This e-m

Re: Thread Contention (due to use of proxys) in HttpClient 4.3

2014-05-12 Thread Oleg Kalnichevski
On Mon, 2014-05-12 at 13:48 +0200, Oleg Kalnichevski wrote: > On Mon, 2014-05-12 at 00:13 +0100, Daniel Feist wrote: > > Hi, > > > > I'm using HttpClient in a situation where high concurrency is expected > > and am doing some testing/benchmarking using gatling-tool. > > > > While performance isn'

Re: Thread Contention (due to use of proxys) in HttpClient 4.3

2014-05-12 Thread Daniel Feist
>> 2) Can I expect 4.2 to scale better? > > I do not think so. In my tests HC 4.3 performs better than 4.2. There > have also been reports Even with high concurrency of say 200 and high TPS, for example in a http proxy scenario? >> 3) Is there a way of configuring 4.3.3 to not use proxys? > > No,

Unexpected end of ZLIB input stream exception

2014-05-12 Thread Philippe Mouawad
Hello, Is there a know issue related to ZLIB management in HTTPClient 4.2.3 ? We have a report of this exception triggering : java.io.EOFException: Unexpected end of ZLIB input stream at java.util.zip.InflaterInputStream.fill(Unknown Source) at java.util.zip.InflaterInputStream.read(Unknown Source

Re: httpacyncclient - calculate upload speed

2014-05-12 Thread Oleg Kalnichevski
On Thu, 2014-05-08 at 18:59 +, Boxer, Aaron wrote: > I am sending files and receiving callbacks when the upload is completed. > Send requests > happen at random times. How do I calculate the upload speed at a given time? > Use a custom HttpAsyncRequestProducer. Oleg --