Received: from heidegger.catalyst.net.nz (203-96-145-122.adsl.paradise.net.nz [203.96.145.122]) by postgresql.org (8.11.3/8.11.4) with ESMTP id g120Zal06857 for ; Fri, 1 Feb 2002 19:35:36 -0500 (EST) (envelope-from andrew@catalyst.net.nz) Received: from 127.0.0.1 (ident=unknown) by heidegger.catalyst.net.nz with esmtp (MasqMail 0.1.16) id 16Wo8z-2be-00; Sat, 02 Feb 2002 13:35:01 +1300 Subject: Re: DBBalancer (was: apache-php-postgresql connection From: Andrew McMillan To: Frank Joerdens Cc: "Brent R. Matzelle" , pgsql-php@postgresql.org In-Reply-To: <20020201175509.A2605@superfly.archi-me-des.de> References: <20020201135519.D910@superfly.archi-me-des.de> <20020201151445.14666.qmail@web13003.mail.yahoo.com> <20020201175509.A2605@superfly.archi-me-des.de> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Evolution/1.0.1 Date: 02 Feb 2002 13:35:01 +1300 Message-Id: <1012610101.3605.35.camel@kant.mcmillan.net.nz> Mime-Version: 1.0 X-Archive-Number: 200202/10 X-Sequence-Number: 916 On Sat, 2002-02-02 at 05:55, Frank Joerdens wrote: > Yet again, on another note: Has anyone tried DBBalancer from > > http://dbbalancer.sourceforge.net/ > > - which is yet another approach to the problem of connection pooling? > I've been meaning to play with it for some time, but haven't gotten > 'round to it. > > I keep thinking about ways around PHP persistent connections because > IMHO it's a pretty awkward solution. I use it on several production databases, and I have packaged it for Debian. I intend to upload the package into the Debian distribution this month. In my environment it gives around the same performance improvement as persistent connections (5-10 times query performance for small queries) but without the problems of runaway connection levels. From my point of biew the _best_ thing about DBBalancer is that in it's simplest installation you don't have to make any changes to your application other than in the connect statement. It will also work fine with Perl, DBI, or even psql because of the way it does it's pooling - it makes no attempt to parse the query. This makes it easy for me to retrofit existing applications with it. Regards, Andrew. -- -------------------------------------------------------------------- Andrew @ Catalyst .Net.NZ Ltd, PO Box 11-053, Manners St, Wellington WEB: http://catalyst.net.nz/ PHYS: Level 2, 150-154 Willis St DDI: +64(4)916-7201 MOB: +64(21)635-694 OFFICE: +64(4)499-2267 Are you enrolled at http://schoolreunions.co.nz/ yet?