On 10 November 2010 12:12, Peter Hickman <[email protected]> wrote:
> How much data is being loaded? If you are adding a large amount of
> data inside a giant commit statement then the database could become
> inaccessible for everyone else until the load completes.

Worse than that, IIRC, Mongrel serves one request at a time. If your
request takes a long time, *nothing* else will respond while it's
processing.
Consider a Mongrel cluster (so there are other Mongrel instances to
handle other requests) or better yet, switch to Passenger with Apache
(or NGinx, etc)

-- 
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