Thanks Oleg !.
On Tue, Dec 10, 2013 at 10:02 AM, Oleg Kalnichevski <[email protected]>wrote: > On Tue, 2013-12-10 at 08:49 +0100, Philippe Mouawad wrote: > > Hello, > > I commited config change as it seems really promosing in terms pf > > performance improvement without feature degradation. > > > > I tested locally but It would really be interesting if you could make a > > comparison with 2.10. > > Regards > > > > Philippe > > Stale connection check is quite expensive in terms of performance > especially for short requests. Disabling it by default is the right > thing to do in my opinion. > > Cheers > > Oleg > > > On Sunday, December 8, 2013, Philippe Mouawad wrote: > > > > > Hello, > > > Profiling JMeter, I noticed an important number of > SocketTimeoutException > > > being triggered without any impact on response status. > > > > > > I investigated it a bit deeper and find out it affected only HttpClient > > > implementations. > > > Looking a bit deeper, it is due to connection stale check which is > enabled > > > by default. > > > This check sets a timeout to 1ms , see : > > > - org.apache.http.impl.io.SocketInputBuffer#isDataAvailable > > > - org.apache.http.impl.AbstractHttpClientConnection#isStale > > > > > > > > > I wonder if it's a good idea to keep it enabled by default as with high > > > number of Threads and throughput it means a huge number of Exception. > > > > > > HttpClient 3 has same issue. > > > > > > Regards > > > Philippe > > > > > > > > > > > -- Cordialement. Philippe Mouawad.
