Received: from localhost (unknown [200.46.204.187]) by postgresql.org (Postfix) with ESMTP id 57CCE9F9BFA for ; Wed, 5 Sep 2007 14:59:47 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.187]) (amavisd-maia, port 10024) with ESMTP id 71549-01 for ; Wed, 5 Sep 2007 14:59:41 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from beaver.fastcrypt.com (beaver.fastcrypt.com [64.7.141.17]) by postgresql.org (Postfix) with ESMTP id 61A599F993A for ; Wed, 5 Sep 2007 14:59:42 -0300 (ADT) Received: from [192.168.1.14] (dcdsl.ebox.com [64.7.143.116]) by beaver.fastcrypt.com (Postfix) with ESMTP id DCCE71580660; Wed, 5 Sep 2007 14:02:02 -0400 (EDT) In-Reply-To: References: <200709050825.27080.josh@agliodbs.com> <200709050911.09478.josh@agliodbs.com> <46DED76E.9050706@enterprisedb.com> <200709050937.29027.josh@agliodbs.com> Mime-Version: 1.0 (Apple Message framework v752.3) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <8FD2948B-9513-4611-9310-908CA253EECD@fastcrypt.com> Cc: Josh Berkus , Heikki Linnakangas , pgsql-jdbc@postgresql.org Content-Transfer-Encoding: 7bit From: Dave Cramer Subject: Re: Caching driver on pgFoundry? Date: Wed, 5 Sep 2007 14:00:01 -0400 To: Kris Jurka X-Mailer: Apple Mail (2.752.3) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200709/33 X-Sequence-Number: 17455 On 5-Sep-07, at 1:27 PM, Kris Jurka wrote: > > > 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. So as I understand it the objection to the caching implementation is that statement caching belongs in the app server ? If this is the case then I would argue that having caching in the appserver is a great idea for everyone using an appserver it does not help the rest of the world that doesn't use an app server. Is there a technical argument here ? Dave > 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 > > ---------------------------(end of > broadcast)--------------------------- > TIP 4: Have you searched our list archives? > > http://archives.postgresql.org