From: | Sergey Konoplev <gray(dot)ru(at)gmail(dot)com> |
---|---|
To: | Mark Paylaga <mpaylaga(at)gmail(dot)com> |
Cc: | "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: Connection pool |
Date: | 2010-09-06 06:54:56 |
Message-ID: | AANLkTi=OkAGqbcD1jc46-xZ6yhvtLosQFXsF8w2oszc6@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Hi,
On 6 September 2010 10:34, Mark Paylaga <mpaylaga(at)gmail(dot)com> wrote:
> Hi sorry if this has been asked already.
> Is there any mechanism to do connection pooling for libpqxx already?
> Or any new developments for this?
>
> Our one dbwriter service instance recieves requests simultaneously to write to the database. We need separate db connections for each request. The simple way to do it is to hardcode and create x number of connections. Is there a way to just use connection pooling?
There are two programs implementing connection pulling for PG. No need
to implement it in your application.
- pgbouncer (http://wiki.postgresql.org/wiki/PgBouncer)
- pgpool (http://pgpool.projects.postgresql.org/)
>
> Can anyone point me to the right direction? Thanks.
>
> Mark
>
>
>
> --
> Sent via pgsql-general mailing list (pgsql-general(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-general
>
--
Sergey Konoplev
Blog: http://gray-hemp.blogspot.com /
Linkedin: http://ru.linkedin.com/in/grayhemp /
JID/GTalk: gray(dot)ru(at)gmail(dot)com / Skype: gray-hemp / ICQ: 29353802
From | Date | Subject | |
---|---|---|---|
Next Message | Craig Ringer | 2010-09-06 07:53:36 | Re: FC13 RPMs for 9.0 - on postgresql.org ftp, but not in yum repo? |
Previous Message | Mark Paylaga | 2010-09-06 06:34:01 | Connection pool |