Received: from localhost (unknown [200.46.204.182]) by postgresql.org (Postfix) with ESMTP id 51E219F9D94 for ; Wed, 5 Sep 2007 15:13:20 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.182]) (amavisd-maia, port 10024) with ESMTP id 68679-01-4 for ; Wed, 5 Sep 2007 15:13:06 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from mail63.csoft.net (leary.csoft.net [205.205.214.5]) by postgresql.org (Postfix) with SMTP id 40FBC9FA334 for ; Wed, 5 Sep 2007 15:12:40 -0300 (ADT) Received: (qmail 5184 invoked by uid 1112); 5 Sep 2007 18:12:39 -0000 Date: Wed, 5 Sep 2007 14:12:39 -0400 (EDT) From: Kris Jurka X-X-Sender: books@leary.csoft.net To: Dave Cramer cc: Josh Berkus , Heikki Linnakangas , pgsql-jdbc@postgresql.org Subject: Re: Caching driver on pgFoundry? In-Reply-To: <8FD2948B-9513-4611-9310-908CA253EECD@fastcrypt.com> Message-ID: References: <200709050825.27080.josh@agliodbs.com> <200709050911.09478.josh@agliodbs.com> <46DED76E.9050706@enterprisedb.com> <200709050937.29027.josh@agliodbs.com> <8FD2948B-9513-4611-9310-908CA253EECD@fastcrypt.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200709/34 X-Sequence-Number: 17456 On Wed, 5 Sep 2007, Dave Cramer wrote: > > On 5-Sep-07, at 1:27 PM, Kris Jurka wrote: > >> 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 ? No, the objection above is that the code you originally submitted was not good enough to be included in the driver regardless of whether it should be in the driver or app server. If we aren't using the code that you originally submitted then the argument that we need to publish something for benchmark compliance is silly because the requirement is you publish the code/driver used, not a somewhat similar implementation. > 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. This is the consensus I'd like to see built before we spend a lot of time on something. Heikki doesn't believe we should do this at all as it is covered by DBCP and app server pools. You clearly believe we need this and I'm sort of on the fence (I recall that's where Oliver is as well, but I don't claim to speak for him). > Is there a technical argument here ? > No, this is just a recap of the previous events from my perspective. Kris Jurka