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:

ActiveRecord::Base.clear_active_connections!

However, where does this line of code go? And what line of code goes
into database.yml to increase the pool size?

Thanks

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to