Skip to content

pg-pool with pgBouncer #3018

Open
Open
@SamGoody

Description

@SamGoody

I need to handle many simultaneous connections.

Ubuntu Jammy
Avg. ~400/connections per second, for several hour at a time.
Not-distributed: both Node and the one instance of Postgres are on the same server.
Using PG with TimeScaleDB for the actual data storage.

Researching the internets sends me to PgBouncer.
Can someone please clarify the relationship of pg-pool to PgBouncer.
Which, if any, are correct:

  1. Use both pg-pool and pgBouncer, they are solving different needs. [If so, please explain a bit]
  2. Use both even though they are solving the same issue, because then we get double efficiency.
  3. Use only pg-pool, because it is more efficient, or because it has some other important benefit.
  4. Use only pgBouncer, because it is more efficient, or because it has some other important benefit.

Thank you very much!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions