On Tue, 2018-07-10 at 13:25 +0200, Joan Balagueró wrote: > Thanks Oleg, > I'm using the Async Client (4.1.2), what must I do to have it > available? Just move to HttpCore 5.0 / HttpClient 5.0? >
You have two options: upgrading to HttpClient 5.0 or building a custom connection manager. Oleg > > -----Mensaje original----- > De: Oleg Kalnichevski [mailto:ol...@apache.org] > Enviado el: martes, 10 de julio de 2018 13:22 > Para: HttpClient User Discussion > Asunto: Re: Global lock in http pool > > On Tue, 2018-07-10 at 12:01 +0200, Joan Balagueró wrote: > > Hello, > > > > > > > > We are using the async http client 4.1.2 in our app (an api > > Gateway). > > Several installations are managing more than 15.000 requests > > simultaneous opened, and now we are in the process to optimize > > some > > code in the proxy. > > > > > > > > Some time ago we could read a thread talking about the global lock > > that http pool has, in order to control the max connections > > parameter. > > To avoid a possible lock contention in high concurrent scenarios, > > Oleg > > planned to implement a new method to control the max connections in > > a > > more “relaxed” > > way, that would not use the lock at the cost to not exactly > > control > > the number of connections opened at any time. > > > > > > > > Our question is if there is any schedule to have this method > > implemented, or if it’s planned to release it in any of the next > > http > > client versions. > > > > It has already been implemented in HttpCore 5.0 and HttpClient 5.0 > > Oleg > > --------------------------------------------------------------------- > To unsubscribe, e-mail: httpclient-users-unsubscr...@hc.apache.org > For additional commands, e-mail: httpclient-users-h...@hc.apache.org > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: httpclient-users-unsubscr...@hc.apache.org > For additional commands, e-mail: httpclient-users-h...@hc.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: httpclient-users-unsubscr...@hc.apache.org For additional commands, e-mail: httpclient-users-h...@hc.apache.org