Am Fri, 18 Apr 2014 18:16:26 -0700
schrieb Phil Steitz <phil.ste...@gmail.com>:

> On 4/18/14, 5:32 PM, Niall Pemberton wrote:
> > Thought this might be of interest:
> >
> > http://jolbox.com/benchmarks.html
> 
> I wonder what version of DBCP they were using.  Guess you have to
> dig into the source to figure that out.

I had mentioned that on the jclarity mailing list before, I think such
kind of micro benachmarks are not really real life relevant. The
performance of a DB pool much more depends on the handling if
refreshes/validations/resets, the amount of caches and the actual
physical close and open handling (i.e. inside our outside critical
code path). Thats not measured with stubbed out db drivers (and the IO
is soo slow that optimizations in the range of microseconds is only
noise)

Of course micro benchmarks can help to find scalability issues and
allow locking/datastructure optimizations. The Bone partitions seem to
be somewhat overengeneered I feel (however it might benefit other
things like prepared statement and transaction cache locality).

Gruss
Bernd

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org

Reply via email to