After load testing my app, it started getting errors at 6 concurrent
users on a not-at-all heavy SQL operation page and I want to know how
to reduce these. I've read up about Connection Pooling but the
information out there is scarce. I'd like to increase my pool limit to
about 25-40 but what are the possible negative repercussions?
The API docs say I must also return the connections to the pool after
they're done being used with:
However, where does this line of code go? And what line of code goes
into database.yml to increase the pool size?