Received: from localhost (unknown [200.46.204.187]) by postgresql.org (Postfix) with ESMTP id E3B0D9F9B2E for ; Mon, 10 Sep 2007 05:19:58 -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 95597-04 for ; Mon, 10 Sep 2007 05:19:49 -0300 (ADT) X-Greylist: delayed 00:05:01.119261 by SQLgrey-1.7.5 Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.177]) by postgresql.org (Postfix) with ESMTP id 7C5109F9ADD for ; Mon, 10 Sep 2007 05:19:52 -0300 (ADT) Received: from iyrahayes.plus.com [84.92.87.167] (helo=OISARSZ2) by mrelayeu.kundenserver.de (node=mrelayeu1) with ESMTP (Nemesis), id 0MKwpI-1IUePy0by7-0002QB; Mon, 10 Sep 2007 10:14:50 +0200 Reply-To: From: "Andy Redhead" To: Subject: Re: Caching driver on pgFoundry? Date: Mon, 10 Sep 2007 09:14:34 +0100 Organization: Open Internet Solutions Ltd Message-ID: <008401c7f382$9ff01d40$1400a8c0@OISARSZ2> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook 11 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3138 In-Reply-To: Thread-Index: AcfxVo7hTnAxt/jLQdy2lqIHjvbYwQCKhy0A X-Provags-ID: V01U2FsdGVkX18eARpOg7fjCe+CTB4WSLmDkEoHbqoZPzWafOV UJvE0RTSorsw3qyMN8W4DE4H+E0WUlvc6ta+DVSPUN8K3z/rQi ZEhndjACvWi/RyzLkAcEBDK1sWIoP4p X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200709/78 X-Sequence-Number: 17500 =20 >=20 > On 7-Sep-07, at 9:13 AM, Oliver Jowett wrote: >=20 > > Dave Cramer wrote: > > > >> After a quick survey I couldn't find another non-GPL open=20 > source app=20 > >> server. > > > > Isn't that a fairly arbitary categorization to make? How about open=20 > > source app servers that don't begin with 'B'? ;-) >=20 > It's not arbitrary at all. see below > > > > Seriously, not sure exactly what point you're trying to make here. =20 > > Why exactly should the existance and licensing of 3rd party=20 > software=20 > > affect technical decisions about the postgresql JDBC driver? > > > Companies are fairly careful when choosing components to put=20 > in their stack. GPL licensed products are considered to be=20 > business non- friendly. I was responding to Simon's=20 > suggestion that they could have used any other app server=20 > which did implement statement caching. > As a "satisfied" postgresql jdbc user and someone who works with a = couple of open source appservers I think its fair to point out that while GPL is considered by many to be "non business friendly", many businesses are = happy with the LGPL licence. Jboss is released under the LGPL and the jboss connection pool does = include statement caching (ie, the pool remembers which statements have been prepared against which connections - which is my understanding of the purpose of this thread). So, if you are looking for an open source java/jee with postgresql = option that includes connection pool level caching of prepared statements then there is already at least one option out there. My own view is that I'd be suspicious of including connection level = caching in the same package as the standard JDBC driver if: 1) the pooling code slows down the standard driver when the pooling = isn't used 2) the release cycle of the pooling code "hobbles" the release of the = main driver 3) the pooling code breaks existing external pooling/caching options Anyway, that=92s my =A30.02 - thanks for all the good work :) Cheers, Andy=20 =20 > > I think we're drifting away from the main point which is,=20 > as I see it,=20 > > fairly simple: > > > > What is the implementation advantage of making statement=20 > pooling part=20 > > of the main driver? There are maintenance issues which count > > *against* it being part of the driver so you need to provide a good=20 > > reason to include it. > > > Well, it has to be maintained regardless of where it is. So=20 > how does that make any difference ? >=20 > > Packaging issues are IMO fairly irrelevant because if you=20 > must give a=20 > > single package to your users, you can always take the base=20 > driver and=20 > > a separate pooling wrapper, package them together, and say=20 > "Hey look=20 > > here is the statement-pooling postgresql JDBC driver". >=20 > Dave > > > > -O >=20 >=20 > ---------------------------(end of=20 > broadcast)--------------------------- > TIP 5: don't forget to increase your free space map settings >=20