Nov 12, 2026wkelyson
How Many Connections Does Your Rails App Need? Sizing and Observing the Active Record Pool in 2026
Threads, fibers and workers change the pool math. The new checkout_wait.active_record event lets you measure saturation without monkey-patching ConnectionPool. This post works that math, configures database.yml for a real Rails 8.1 app, and decides when PgBouncer belongs.