From: Scott Marlowe <smarlowe@g2switchworks.com>
To: lst_hoe01@kwsoft.de
Cc: pgsql-admin@postgresql.org
Subject: Re: Many persistant client connections
Date: Thu, 31 Mar 2005 09:21:55 -0600
Message-ID: <1112282515.31277.69.camel@state.g2switchworks.com> (raw)
In-Reply-To: <1112259136.424bba40cf286@webmail.kwsoft.de>
References: <20050330090533.0dp4fmto0ckoossk@webtest.kwsoft.de>
<60oed1rvr2.fsf@dba2.int.libertyrms.com>
<1112259136.424bba40cf286@webmail.kwsoft.de>
On Thu, 2005-03-31 at 02:52, lst_hoe01@kwsoft.de wrote:
> Zitat von Chris Browne <cbbrowne@acm.org>:
>
> > lst_hoe01@kwsoft.de writes:
> > > i would like to know if there is something like the Oracle "shared
> > > server" possible with PostgreSQL. I have searched the archives but
> > > have not found any real discussion regarding this.
> > >
> > > We have two CTI applications opening 2-3 persistant connections to
> > > the address server (PostgreSQL). With 100 clients we get around 400
> > > persistant connections eating up the server memory and have nothing
> > > to work most of the time.
> >
> > Sounds like a case for looking into pgpool...
> >
> > <http://pgfoundry.org/projects/pgpool/;
> >
> > pgpool is a connection pool system implemented in C that can allow
> > sharing of connections for many cases like the one you describe.
>
> Thanks for the info. Is this the recommended way to handle many persistant
> client connections or are there other opinions/possibilities?
pgpool is one of several standard ways. It's a solid bit of software.
It's also very useful in conjunction with Slony.
jdbc connection pooling works well too. There are a few others I've
seen but can't remember right off the top of my head.
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-admin@postgresql.org
Cc: smarlowe@g2switchworks.com, lst_hoe01@kwsoft.de
Subject: Re: Many persistant client connections
In-Reply-To: <1112282515.31277.69.camel@state.g2switchworks.com>
References: <20050330090533.0dp4fmto0ckoossk@webtest.kwsoft.de> <60oed1rvr2.fsf@dba2.int.libertyrms.com> <1112259136.424bba40cf286@webmail.kwsoft.de> <1112282515.31277.69.camel@state.g2switchworks.com>
* 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