We have a method that is just taking a ridiculous amount of time in
production:

Production:
Completed in 84043ms (DB: 35243) | 302 Found [http://x.com/admin/x/
3262/x] (pid:10052)

Dev:
Completed in 268ms (DB: 201) | 302 Found [http://c.local/admin/x/3262/
x] (pid:27599)

To do this test I dumped the production database, loaded it into my
dev environment and performed the identical task on the identical
data.
Our production environment is an Amazon EC2 instance, which ok is not
as fast as my MacPro, but still!

What can I do to figure out what is going on here? I assume it is
perhaps some sort of db locking? But this happens even when no one
else is using the production system.

All ideas and tips welcomed!

--

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