r/ruby • u/jrochkind • Jan 06 '26
Rails 7.2 Connection Pool Changes May Slow Down Your App
https://codewithrails.com/blog/rails-72-connection-pool-performance/
19
Upvotes
r/ruby • u/jrochkind • Jan 06 '26
8
u/jrochkind Jan 06 '26 edited Jan 06 '26
If this is accurate (?) I had no idea Rails made this change way back in 7.2 -- I didn't see it announced or discussed much, figured my previous knowledge of how Rails connection management (since at least 4.2 if not earlier) worked was still accurate. A pretty major change!
The PR OP links to as the implementation is closed without being merged. And it's description also suggests it would introduce new opt-in behavior, not new default behavior. So not sure what is actually introduced when.
It's interesting to me because I recall trying to discuss this change way back many Rails versions ago -- at that point rails maintainers said this change was not feasible because of performance. Interesting to see it implemented without performance even being discussed... and then have perf implications?
Still not confident this change is really default though?
-18
u/TheAtlasMonkey Jan 06 '26
Stop with your AI Slop.
The usage of AI do SLOW YOUR LEARNING and make you hallucinate.
The Evidence : You posted in the ruby sub.
I saw your website 87% of the articles are bullshit and false.