Re: pgbouncer - Mailing list pgsql-general

From Merlin Moncure
Subject Re: pgbouncer
Date
Msg-id AANLkTimJM0-5ERpf7pYajPZMverzLA0fiEjWu8au7pcu@mail.gmail.com
Whole thread Raw
In response to pgbouncer  (Mario Ignacio Rodríguez Cortés<ignacio.cortes@inegi.org.mx>)
Responses Re: pgbouncer  (Vick Khera <vivek@khera.org>)
List pgsql-general
On Thu, Jun 3, 2010 at 12:40 PM, Mario Ignacio Rodríguez Cortés
<ignacio.cortes@inegi.org.mx> wrote:
> hello all:
>
> Well, i have a question if you know about this, i have a webserver in a
> server and i have a database server, the question is: where should I
> install the pgbouncer? in webserver, in database server or is the same?
> whats your experience.

my gut (guess) says here that if the db and web server are on
different boxes, you will want to put pgbouncer on the web server box.
 my reasoning is that you have lots of libpq 'auths' going on to
pgbouncer and far fewer real auths to the database, so you want the
leg with the greater # of auths to get the local benefit.  reason #2
is the less going on in a dedicated db box the better.

I'm interested in this too...does anyone else have experience in this matter?

merlin

pgsql-general by date:

Previous
From: Pavel Stehule
Date:
Subject: Re: Removing CONTEXT from RAISE EXCEPTION messages from triggers
Next
From: Peter Geoghegan
Date:
Subject: Re: Removing CONTEXT from RAISE EXCEPTION messages from triggers