January 07, 2008
When something bad happens you want to find out about it as quickly as possible.
You’re probably notified of uncaught exceptions. What about slow web requests, which can be just as annoying to a user?
Find about about slow web requests (and what might be causing them) in near real-time using Scout and the Ruby on Rails Request Monitoring Plugin.
Here’s how it goes down:
1. Install the Scout Client
2. Install the Plugin
...that’s it – you’re no longer a performance slacker.
3. Scout reports back data
Every 10 minutes, Scout collects information:
If you have a slow request, an alert is generated. You can view the offending requests and their request times:
You can easily graph this data as well with Scout’s built-in graph builder:
...but that’s not all. You probably have multiple Rails applications. You can compare their performance on a single graph as well:
...we’re not done yet though…how about comparing the average request time vs. the size of the mongrel threads through the Process Usage plugin?
Since it’s easy to plot different data stats on Scout, you can quickly rule out possible reasons for slow performance. That’s half the battle.
Signup for our launch email list