Understanding Active Record Connection Pooling
An overview of how Active Record pools and reuses database connections within each process, how the Reaper cleans up idle connections, and how to tune the pool to avoid ConnectionTimeoutError as a Rails application scales.
Published on BigBinary. Read it there.