From: Andrew McMillan <andrew@catalyst.net.nz>
To: Frank Joerdens <frank@joerdens.de>
Cc: Brent R. Matzelle <bmatzelle@yahoo.com>
Cc: pgsql-php@postgresql.org
Subject: Re: DBBalancer (was: apache-php-postgresql connection
Date: 02 Feb 2002 13:35:01 +1300
Message-ID: <1012610101.3605.35.camel@kant.mcmillan.net.nz> (raw)
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>
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?
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-php@postgresql.org
Cc: andrew@catalyst.net.nz, frank@joerdens.de, bmatzelle@yahoo.com
Subject: Re: DBBalancer (was: apache-php-postgresql connection
In-Reply-To: <1012610101.3605.35.camel@kant.mcmillan.net.nz>
References: <20020201135519.D910@superfly.archi-me-des.de> <20020201151445.14666.qmail@web13003.mail.yahoo.com> <20020201175509.A2605@superfly.archi-me-des.de> <1012610101.3605.35.camel@kant.mcmillan.net.nz>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox