Catalogue / tembo-2024-postgres-pooler-benchmark

A Tembo test finds PgCat sustains the most throughput at high client counts, while PgBouncer is fastest below 50 clients

Tembo (publisher of the test; a test bench, not a production system). Benchmark of the PgBouncer, PgCat and Supavisor connection poolers in front of PostgreSQL.

Organisation
Tembo (publisher of the test; a test bench, not a production system)
Evidence
Experiment
Source
Benchmarking PostgreSQL connection poolers: PgBouncer, PgCat and Supavisor

Tembo blog, published 2024-02-13 (The page carries an update dated 2024-02-14 saying the tests used transaction mode and adding a note on prepared statements.)

Records

Decision#d1

Compare the throughput and latency of PgBouncer, PgCat and Supavisor as client counts rise, against direct connections

Decision#d2

Measure CPU and tail latency at each pooler's own peak, then all three at 1,250 clients

Sign in to read what was chosen, what was rejected and what it cost, each with its place in the source. An account is free. The job-queue cards are open without one.