~/talk

Database Connection Pool Sizing - Demystified!

Talkat Voxxed Days Zurich 2026 · on Tuesday, 2026-03-24· [databases]
slides:none on file

Claims that bigger pools always help are false: using Little's Law the example shows 50 tps at 100 ms needs ~5 connections, not hundreds, while a misconfigured setup opens 8 JVMs × 80 = 640 connections against a 104‑core server that can handle ~2×104+spindles = 216 max. Applying Kingman's law explains why pushing utilization above ~75–80% explodes wait times. Practical rule: size pools by cores (≈2×cores+spindle), split short/long workloads, and prefer HikariCP defaults unless you measure otherwise.

AI-written summary · about

  1. 0:00Connection pool sizing
  2. 1:18Why config matters
  3. 5:56How pools work and benefits
  4. 9:30Requests exceed connections
  5. 12:22Little’s Law for pools
  6. 15:55Minimal pool size limits
  7. 18:00Kingman’s Law limits
  8. 21:36Max pool size by core ratio
  9. 24:04Pool sizing miscalculation example
  10. 28:55Key takeaways
  11. 30:21Q&A troubleshooting
~/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.