Re: Connection pooling. - Mailing list pgsql-hackers

From Lamar Owen
Subject Re: Connection pooling.
Date
Msg-id 00071121235800.00745@lorc.wgcr.org
Whole thread Raw
In response to Connection pooling.  (Alfred Perlstein <bright@wintelcom.net>)
List pgsql-hackers
On Tue, 11 Jul 2000, Alfred Perlstein wrote:
> In an effort to complicate the postmaster beyond recognition I'm
> proposing an idea that I hope can be useful to the developers.
> Connection pooling:
> The idea is to have the postmaster multiplex and do hand-offs of
> database connections to other postgresql processes when the max
> connections has been exceeded.

AOLserver is one client that already does this, using the existing fe-be
protocol.  It would be a good model to emulate -- although, to date, there
hasn't been much interest from the main developers on spending the time to do
this.

If you need or want this performance on a db-backed website, use AOLserver :-P
or some good connection pooling module for Apache, et al.  PHP does a form of
persistent connections, but I don't know enough about them to know if they are
truly pooled (as AOLserver's are).  I do know that AOLserver's pooling is a
major performance win.

As Ben has already said, this is a good place for client-side optimization,
which is really where it would get the most use anyway.

AOLserver has done this since around early 1995.

--
Lamar Owen
WGCR Internet Radio
1 Peter 4:11


pgsql-hackers by date:

Previous
From: Philip Warner
Date:
Subject: Re: Insert..returning (was Re: Re: postgres TODO)
Next
From: Vince Vielhaber
Date:
Subject: Re: md5 again