Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 1F8A59F99D0 for ; Wed, 5 Sep 2007 17:20:50 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 10562-09 for ; Wed, 5 Sep 2007 17:20:45 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.5 Received: from mail01.enterprisedb.com (mail01.enterprisedb.com [63.246.7.168]) by postgresql.org (Postfix) with ESMTP id 2301B9F98D1 for ; Wed, 5 Sep 2007 17:20:44 -0300 (ADT) thread-index: Acfv+kTmQV/f2iSoQzif4/p61+yM9Q== Received: from [192.168.1.33] ([86.27.72.246]) by mail01.enterprisedb.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.3959); Wed, 5 Sep 2007 16:20:57 -0400 Content-Class: urn:content-classes:message Importance: normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.4073 Message-ID: <46DF0F70.50802@enterprisedb.com> Date: Wed, 05 Sep 2007 21:20:00 +0100 From: "Heikki Linnakangas" User-Agent: Icedove 1.5.0.12 (X11/20070730) MIME-Version: 1.0 To: "Dave Cramer" , Cc: "Kris Jurka" , "Josh Berkus" Subject: Re: Caching driver on pgFoundry? 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> In-Reply-To: Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 05 Sep 2007 20:20:57.0890 (UTC) FILETIME=[44D32820:01C7EFFA] X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200709/41 X-Sequence-Number: 17463 Kris Jurka wrote: > On Wed, 5 Sep 2007, Dave Cramer wrote: >> 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. To be clear, I think it's nice to have one more statement cache implementation around, with friendly BSD license. I encourage you to keep working on it, regardless of how this discussion ends. But let's not bundle it with the PostgreSQL JDBC driver, it's clearly a separate component. For applications that already have another connection pool / statement cache implementation, it would be just extra baggage. And as a separate project, you can use it with other DBMSs as well. Or bundle it with an app server :). Another point of view is to think about the release cycles of the JDBC driver and the caching wrapper. If a bug is found in the wrapper, and it's bundled with the JDBC driver, we would have to release a new version of the bundle, forcing an upgrade of both components even if you only use one. If we add a new feature to the wrapper, is that going to be backpatched to say the 8.1 branch? What if you're running 8.1 server and driver, and you want to take advantage of a new wrapper feature? The wrapper has enough merit to live a happy and successful life as a project of its own. I don't care if it's a separate pgfoundry project, or just a separate CVS directory within jdbc project and separate builds; the main point is that it should be a separate jar file with a separate release cycle. If we add a link to the latest version of the wrapper jar from jdbc.postgresql.org download page, people will find it regardless of where the development happens. -- Heikki Linnakangas EnterpriseDB http://www.enterprisedb.com