On Tue, 2019-11-26 at 21:19 +0100, Michael Osipov wrote:
> 

...

> > > > > Is Commons Pool an option? Or even the high-performance
> > > > > Tomcat
> > > > > JDBC
> > > > > Pool
> > > > > stripped for the JDBC part? It is little code compared to
> > > > > Commons
> > > > > Pool.
> > > > > 
> > > > 
> > > > It is an option but what would exactly be the upside? On the
> > > > downside
> > > > we would likely lose the ability to support stateful
> > > > connections
> > > > that
> > > > we presently have in 4.x and 5.x.
> > > 
> > > Upside: we use well tested, existing ASF code.
> > > 
> > 
> > Are you sure?
> 
> Tomcat JDBC Pool has been shipped since 7.0 as a high perf
> alternative 
> to Commons DBCP.
> 
> But you want maybe to run your own tests to verify it will be better 
> than the current pool HttpAsyncClient uses.
> There is also HikariCP under Apache 2.0.
> 
> Just trying to open options to avoid reinventing the wheel.
> 

That wheel got reinvented 15 years ago and got specifically tailored to
HttpClient requirements. So far I have seen no evidence of other wheels
being any better.

Oleg 



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to