~/talk

Connection pooling routing and queueing with pgBouncer

Talkat PGConf Silicon Valley 2016 · 2016-11-14..11-16· [databases]
slides:none on file

pgBouncer reduces connection overhead dramatically: 10,000 connects: 24s → 4s and with a small query 27s → 6s, while a long-lived session with 100k selects shows extra hop overhead (6.8s direct vs 11s via pgbouncer). It implements pooling/queuing with pool, reserve and timeout settings, supports admin commands like show pools and pause/resume, and does online restart via -R by transferring file descriptors. Version 1.7 adds TLS, pg_hba-style rules and PAM; configuration must keep pool sizes consistent across layers.

AI-written summary · about

  1. 0:00Connection pooling, routing, and queuing with PgBouncer
  2. 0:26PgBouncer quick intro
  3. 1:01PgBouncer configuration
  4. 8:05Connection queuing
  5. 15:32Connection routing
  6. 24:27Connection maintenance
  7. 28:17Online PgBouncer restart
  8. 29:34Security
  9. 31:50Pain points
  10. 37:05Resources
  11. 39:08Online PostgreSQL restart
~/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.