📝
article
rubyflow.com
·
November 29, 2026
What an Active Record Connection Pool Actually Controls
A two-thread Active Record 8.1.4.1 reproduction shows a checkout timeout after the holder’s query has finished. Moving the wait outside its connection block lets the other thread proceed. A second experiment compares ordinary model lookups, outer connection blocks, and persistent leases from Base.connection .
Read on rubyflow.com →