From: Kris Jurka <books@ejurka.com>
To: Josh Berkus <josh@agliodbs.com>
Cc: Heikki Linnakangas <heikki@enterprisedb.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: Caching driver on pgFoundry?
Date: Wed, 5 Sep 2007 13:27:44 -0400 (EDT)
Message-ID: <Pine.BSO.4.64.0709051313050.30413@leary.csoft.net> (raw)
In-Reply-To: <200709050937.29027.josh@agliodbs.com>
References: <200709050825.27080.josh@agliodbs.com>
<200709050911.09478.josh@agliodbs.com>
<46DED76E.9050706@enterprisedb.com>
<200709050937.29027.josh@agliodbs.com>
On Wed, 5 Sep 2007, Josh Berkus wrote:
>> Can't you use DBCP or some other open source statement cache
>> implementation that's in a more mature state?
>
> Unfortunately, no. The benchmark is already out.
>
But that benchmark was run with a different caching implementation than
the wrapper version, so I'm not sure how that's relevant. When Sun chose
to use unpublished and unreviewed code for the benchmark they got
themselves in a little bind and I'm not sure it's our job to bail them out
by publishing and advertising code that we're not confident in. Heikki,
Oliver, and myself did not believe the code used by Sun in the benchmark
was correct in the general case so it was rejected for inclusion in the
core driver. Dave/Lazlo have since started a new implemention on
pgfoundry, but that was never discussed with the JDBC list or submitted
for inclusion.
To satisfy the benchmark requirements, Sun should publish the code/driver
actually used in the benchmark somewhere on Sun's website and, if honest,
should recommend that people don't use it. From there we should try to
gather some consensus on whether PG needs its own statement cache
implementation and then rerun the benchmarks with it or some other
implementation.
Kris Jurka
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-jdbc@postgresql.org
Cc: books@ejurka.com, josh@agliodbs.com, heikki@enterprisedb.com
Subject: Re: Caching driver on pgFoundry?
In-Reply-To: <Pine.BSO.4.64.0709051313050.30413@leary.csoft.net>
References: <200709050825.27080.josh@agliodbs.com> <200709050911.09478.josh@agliodbs.com> <46DED76E.9050706@enterprisedb.com> <200709050937.29027.josh@agliodbs.com> <Pine.BSO.4.64.0709051313050.30413@leary.csoft.net>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox