Re: httpClient.getConnectionManager() performance with HTTP only

2016-02-21 Thread Philippe Mouawad
Hello, For information on a test plan with following configuration (15 threads, 5 minutes run) we make 138% more samples with 3.0 than with 2.13 thanks to fixing of https://bz.apache.org/bugzilla/show_bug.cgi?id=58099. The gain is due to the non init of SSL Context when only HTTP is used. Maybe inc

Re: httpClient.getConnectionManager() performance with HTTP only

2016-02-17 Thread Philippe Mouawad
Hello, I think I have fixed the issue in JMeter, I attached patch to: - https://bz.apache.org/bugzilla/show_bug.cgi?id=58099 Reviews and feedback very welcome. Regards On Tue, Jan 5, 2016 at 3:05 PM, sebb wrote: > On 22 December 2015 at 08:36, Oleg Kalnichevski wrote: > > On Sun, 2015-12-20 at

Re: httpClient.getConnectionManager() performance with HTTP only

2016-01-05 Thread sebb
On 22 December 2015 at 08:36, Oleg Kalnichevski wrote: > On Sun, 2015-12-20 at 22:44 +0100, Philippe Mouawad wrote: >> Hi Oleg, >> Back to this old subject and knowing that we must stick to 1 HttpClient per >> thread (as per all the discussion that followed this). >> Is there a plan to implement t

Re: httpClient.getConnectionManager() performance with HTTP only

2015-12-22 Thread Oleg Kalnichevski
On Sun, 2015-12-20 at 22:44 +0100, Philippe Mouawad wrote: > Hi Oleg, > Back to this old subject and knowing that we must stick to 1 HttpClient per > thread (as per all the discussion that followed this). > Is there a plan to implement this lazy init of SSLContext in HttpClient as > it used to be t

Re: httpClient.getConnectionManager() performance with HTTP only

2015-12-20 Thread Philippe Mouawad
Hi Oleg, Back to this old subject and knowing that we must stick to 1 HttpClient per thread (as per all the discussion that followed this). Is there a plan to implement this lazy init of SSLContext in HttpClient as it used to be the case in HC3 ? For our project, it's a killer in terms of performa

Re: httpClient.getConnectionManager() performance with HTTP only

2015-01-23 Thread Philippe Mouawad
On Fri, Jan 23, 2015 at 11:48 PM, Oleg Kalnichevski wrote: > On Fri, 2015-01-23 at 23:10 +0100, Philippe Mouawad wrote: > > On Fri, Jan 23, 2015 at 10:00 PM, Oleg Kalnichevski > > wrote: > > > > > On Fri, 2015-01-23 at 20:42 +0100, Philippe Mouawad wrote: > > > > On Fri, Jan 23, 2015 at 6:09 PM,

Re: httpClient.getConnectionManager() performance with HTTP only

2015-01-23 Thread Oleg Kalnichevski
On Fri, 2015-01-23 at 23:10 +0100, Philippe Mouawad wrote: > On Fri, Jan 23, 2015 at 10:00 PM, Oleg Kalnichevski > wrote: > > > On Fri, 2015-01-23 at 20:42 +0100, Philippe Mouawad wrote: > > > On Fri, Jan 23, 2015 at 6:09 PM, Oleg Kalnichevski > > wrote: > > > > ... > > > > > > > > > > > > > Ple

Re: httpClient.getConnectionManager() performance with HTTP only

2015-01-23 Thread Philippe Mouawad
On Fri, Jan 23, 2015 at 10:00 PM, Oleg Kalnichevski wrote: > On Fri, 2015-01-23 at 20:42 +0100, Philippe Mouawad wrote: > > On Fri, Jan 23, 2015 at 6:09 PM, Oleg Kalnichevski > wrote: > > ... > > > > > > > > > > Please note that if JMeter needs to simulate several physical users > > > > > having

Re: httpClient.getConnectionManager() performance with HTTP only

2015-01-23 Thread Oleg Kalnichevski
On Fri, 2015-01-23 at 20:42 +0100, Philippe Mouawad wrote: > On Fri, Jan 23, 2015 at 6:09 PM, Oleg Kalnichevski wrote: ... > > > > > > > Please note that if JMeter needs to simulate several physical users > > > > having a separate connection pool per distinct user may be the easiest > > > > and

Re: httpClient.getConnectionManager() performance with HTTP only

2015-01-23 Thread Philippe Mouawad
On Fri, Jan 23, 2015 at 6:09 PM, Oleg Kalnichevski wrote: > On Mon, 2014-12-29 at 15:15 +0100, Philippe Mouawad wrote: > > Hi Oleg, > > Thanks for answers. > > Clarifications below inline. > > Regards > > > > Hi Philippe > > sorry for such a long delay in answering your message. > > > No problem,

Re: httpClient.getConnectionManager() performance with HTTP only

2015-01-23 Thread Oleg Kalnichevski
On Mon, 2014-12-29 at 15:15 +0100, Philippe Mouawad wrote: > Hi Oleg, > Thanks for answers. > Clarifications below inline. > Regards > Hi Philippe sorry for such a long delay in answering your message. > > One can force SSL renegotiation by evicting all idle connections from > > the connectio

Re: httpClient.getConnectionManager() performance with HTTP only

2015-01-16 Thread Philippe Mouawad
Hi Oleg, Users, I am pinging again on my questions. As I didn't get any answer I am wondering if my questions here are stupid or if you didn't have time to answer yet (which I can quite understand :-) ). If they are stupid :-) , let me know so that I can scratch my head a bit more. Thanks a lot f

Re: httpClient.getConnectionManager() performance with HTTP only

2014-12-29 Thread Philippe Mouawad
Hi Oleg, Thanks for answers. Clarifications below inline. Regards On Mon, Dec 29, 2014 at 10:04 AM, Oleg Kalnichevski wrote: > On Sun, 2014-12-28 at 22:09 +0100, Philippe Mouawad wrote: > > Hi, > > Related to this topic, once we switch to 1 instance of HttpClient shared > by > > all threads, how

Re: httpClient.getConnectionManager() performance with HTTP only

2014-12-29 Thread Oleg Kalnichevski
On Sun, 2014-12-28 at 22:09 +0100, Philippe Mouawad wrote: > Hi, > Related to this topic, once we switch to 1 instance of HttpClient shared by > all threads, how can we reset SSLContext ? > We need this feature within jmeter to simulate SSL handshake per client , > we currently do : > httpClient.ge

Re: httpClient.getConnectionManager() performance with HTTP only

2014-12-28 Thread Philippe Mouawad
Hi, Related to this topic, once we switch to 1 instance of HttpClient shared by all threads, how can we reset SSLContext ? We need this feature within jmeter to simulate SSL handshake per client , we currently do : httpClient.getConnectionManager().shutdown(); Which by the way is rather very ineffi

Re: httpClient.getConnectionManager() performance with HTTP only

2014-05-16 Thread Oleg Kalnichevski
On Wed, 2014-05-14 at 19:46 +0100, sebb wrote: > On 14 May 2014 12:28, Oleg Kalnichevski wrote: ... > >> Issue is not present in HTTPCLient 3.1 > > > > Philippe > > > > If HttpClient is used correctly, this code should only be executed only > > once. Why does JMeter create more than one instance

Re: httpClient.getConnectionManager() performance with HTTP only

2014-05-15 Thread sebb
On 14 May 2014 12:28, Oleg Kalnichevski wrote: > On Tue, 2014-05-13 at 23:59 +0200, Philippe Mouawad wrote: >> Hello, >> We have a report of Performance issue when using HttpClient4 with HTTP. >> >> User noticed cacert was read very frequently. >> >> I traced the calls and it is due to : >> HttpCl

Re: httpClient.getConnectionManager() performance with HTTP only

2014-05-14 Thread Oleg Kalnichevski
On Tue, 2014-05-13 at 23:59 +0200, Philippe Mouawad wrote: > Hello, > We have a report of Performance issue when using HttpClient4 with HTTP. > > User noticed cacert was read very frequently. > > I traced the calls and it is due to : > HttpClient#getConnectionManager() > => > > public synchr

httpClient.getConnectionManager() performance with HTTP only

2014-05-13 Thread Philippe Mouawad
Hello, We have a report of Performance issue when using HttpClient4 with HTTP. User noticed cacert was read very frequently. I traced the calls and it is due to : HttpClient#getConnectionManager() => public synchronized final ClientConnectionManager getConnectionManager() { if (connM