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 a amazon XL instance) > > When profiling with gatling running using 200 users I see very > significant contention in java.reflect.Proxy.newInstance(). See: > https://www.dropbox.com/s/jjaqyfm54lxw0s8/Screen%20Shot%202014-05-08%20at%201.34.11%20PM.png > > When i look at 4.2 source code, Proxys aren't used in this two places. > > Questions: > 1) Is this known issue?
No, it is not > 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 > 3) Is there a way of configuring 4.3.3 to not use proxys? No, there is not. The cost of dynamic proxies in modern JREs is believed to be low. Oleg --------------------------------------------------------------------- To unsubscribe, e-mail: httpclient-users-unsubscr...@hc.apache.org For additional commands, e-mail: httpclient-users-h...@hc.apache.org