Received: from localhost (unknown [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id 8C73D9F9C96 for ; Wed, 5 Sep 2007 15:20:23 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-maia, port 10024) with ESMTP id 73718-03 for ; Wed, 5 Sep 2007 15:20:15 -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 AB64B9F9CA5 for ; Wed, 5 Sep 2007 15:20:12 -0300 (ADT) Received: from [192.168.1.14] (dcdsl.ebox.com [64.7.143.116]) by beaver.fastcrypt.com (Postfix) with ESMTP id 4F52E15806AD; Wed, 5 Sep 2007 14:22:33 -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> <8FD2948B-9513-4611-9310-908CA253EECD@fastcrypt.com> Mime-Version: 1.0 (Apple Message framework v752.3) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <159CA908-A763-4FB0-824F-8DCF3A3DD22C@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:20:31 -0400 To: Kris Jurka X-Mailer: Apple Mail (2.752.3) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200709/35 X-Sequence-Number: 17457 On 5-Sep-07, at 2:12 PM, Kris Jurka wrote: > > > 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. As I recall the events. The only objection to code that I submitted for inclusion was Heikki's objection as to where caching belonged. The proof of concept code was clearly not production and was not meant for inclusion it was meant to generate this argument. As nobody argued vehemently at the time I went ahead with a production version. > >> 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. Well DBCP has it's issues. It is very large and not the fastest piece of code in the world. > 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). So we basically have one nay vote holding this up ? Dave > >> Is there a technical argument here ? >> > > No, this is just a recap of the previous events from my perspective. > > Kris Jurka