Rails defaults to 5 connections in the database pool. I've always wondered why this is the case. Is it significantly more performant than just 1 or 2?
Asked
Active
Viewed 189 times
0
-
If you have 10 worker threads, then I imagine, yes, it's more performant. – Sergio Tulentsev Nov 20 '14 at 16:28
-
Looks like my question is a dup of http://stackoverflow.com/questions/15086880/correct-setting-of-database-connection-pool-database-yml-for-single-threaded-rai. As in that question, I'm just wondering if it matters for single-threaded performance at all. – ashanbrown Nov 20 '14 at 16:31