jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jukka Zitting <jukka.zitt...@gmail.com>
Subject Re: JCR 1456 Database connection pooling
Date Wed, 09 Sep 2009 08:11:43 GMT

On Wed, Sep 9, 2009 at 9:59 AM, Martijn Hendriks<martijnh@gx.nl> wrote:
>> Agreed, though intuitively the effect of pooling should be negligible
>> (a few extra method calls and hash lookups compared to the work that
>> happens in the underlying database).
> Well...also the cached PreparedStatements from e.g. the BundlePMs have
> been removed (the ConnectionRecoveryManager maintained that cache).
> That might just have a more significant effect on performance.

DBCP also pools prepared statements, so even there the effect should
be minimal. Other connection pools that don't do this might see a hit,
but that's easily worked around by replacing the pool with DBCP.


Jukka Zitting

View raw message