~/talk

PgBouncer: Present and Future

Talkat PGCon 2023 · 2023-05-30..06-02· [databases, devops-and-delivery]
slides:none on file

PgBouncer is a lightweight C connection pooler (≈26,000 LOC) using libevent and libyajl, with 48 releases, 55 contributors and three active committers; it supports online reload/restart, 1.19 added out_db_name, show state and cancel-forwarding, and 1.19.1 fixes two rare crash bugs released today. Pools support session/transaction/statement modes; current design is single-threaded with an optional PAM thread and a multi-instance socket-reuse workaround for CPU scaling. Work in progress: prepared statements in transaction-pooling, LDAP, FIPS/OpenSSL updates, Python tests and other auth improvements.

AI-written summary · about

  1. 0:00Introduction to PgBouncer
  2. 2:58Connection pooling goals
  3. 6:19PgBouncer design overview
  4. 10:17Project history and stats
  5. 16:23Recent releases and fixes
  6. 17:08PostgreSQL architecture basics
  7. 18:31Pool modes explained
  8. 21:45Configuration file overview
  9. 26:45Key configuration parameters
  10. 32:13Admin commands for management
  11. 38:16Monitoring and show commands
  12. 42:57Roadmap and future features
  13. 49:55Q&A session
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 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
?
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.