~/talk

Connection Pooling Beyond PgBouncer: A Custom Approach for Distributed PostgreSQL

Talkat PGConf.dev 2026 · 2026-05-19..05-22· [databases]
links:none on file
slides:none on file

A custom connection pooler for Multigress implements the extended query protocol, per-user pools with a per-user fair pools max-min fairness allocator, and cross-gateway prepared statement consolidation that renames and deduplicates prepared plans across gateways to avoid backend blowup. Settings-based routing uses an LRU cache and eight stacks for fast pointer-equality checks, and a three-tier pool architecture (regular / reserved / admin) handles transactions, temp tables and suspended portals; demo shows PgBouncer errors while Multigress preserves temp-table correctness with modest extra hops and ~5–6% latency impact.

AI-written summary · about

  1. 0:00Introduction to Multigres
  2. 3:33Why not PG Bouncer
  3. 10:53Per user fair pools
  4. 20:59Pooling without connection mode
  5. 34:39Prepared statement consolidation
  6. 41:57Summary and tradeoffs
  7. 47:40Q&A
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.