>> 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, there is not. The cost of dynamic proxies in modern JREs is believed
> to be low.

The problem I see isn't the use of proxies, it is in the creation of
these proxy instances which is synchnorized on a HashMap 'cache' in
two places in java.lang.reflect.Proxy.getProxyClass0(ClassLoader,
Class<?>...).  This is visible in the profiler screenshot I shared
too.

This probably isn't an issue with low concurrency, or high concurrency
and low TPS, but in my testing/profiling it comes up as an issue.

thanks,
Dan

---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-unsubscr...@hc.apache.org
For additional commands, e-mail: httpclient-users-h...@hc.apache.org

Reply via email to