pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Laurenz Albe <laurenz.albe@cybertec.at>
To: Rita <rmorgan466@gmail.com>
To: " <pgsql-general@postgresql.org>
Subject: Re: pgbouncer
Date: Wed, 28 Jun 2023 14:27:55 +0200
Message-ID: <133e7d3d127b430e61f80934eba44b5ba98eb51e.camel@cybertec.at> (raw)
In-Reply-To: <CAOF-KfgcE_UF=-1FO7DS8dMQQp0L1m1bhRYR4-ZYMuPEiBAs8A@mail.gmail.com>
References: <CAOF-KfgcE_UF=-1FO7DS8dMQQp0L1m1bhRYR4-ZYMuPEiBAs8A@mail.gmail.com>

On Wed, 2023-06-28 at 07:19 -0400, Rita wrote:
> seems like I may need to deploy pgbouncer for my webapp. should i deploy it on the db server or on the webserver?

On the database server.  You don't want network latency between pgbouncer and PostgreSQL,
so that the connections can be active as much as possible.
That will improve throughput.

Yours,
Laurenz Albe





view thread (21+ messages)  latest in thread

Message-ID: <133e7d3d127b430e61f80934eba44b5ba98eb51e.camel@cybertec.at>
Permalink:  ../133e7d3d127b430e61f80934eba44b5ba98eb51e.camel@cybertec.at/
Also on:    postgresql.org/message-id/133e7d3d127b430e61f80934eba44b5ba98eb51e.camel@cybertec.at

 · 

reply

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-general@postgresql.org
  Cc: laurenz.albe@cybertec.at, rmorgan466@gmail.com
  Subject: Re: pgbouncer
  In-Reply-To: <133e7d3d127b430e61f80934eba44b5ba98eb51e.camel@cybertec.at>
  References: <CAOF-KfgcE_UF=-1FO7DS8dMQQp0L1m1bhRYR4-ZYMuPEiBAs8A@mail.gmail.com> <133e7d3d127b430e61f80934eba44b5ba98eb51e.camel@cybertec.at>

* 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