A Six-Pronged Rails Performance Philosophy

"An ounce of prevention is worth a pound of cure."• Benjamin Franklin Application performance problems can be annoying. With luck, you'll spend an hour or two resolving the problem and get back to your real job: building things. But what happens when the issues start piling up? What happens ... Read more

3 pleasantly surprising PostgreSQL Indexing tricks

Most Rails engineers know the basics of database performance. They know that if a query is slow, an index may be the solution. Some know the trade-offs between having and not having an index. Or why an index on a low-cardinality column might not help. But everyone is surprised when ... Read more

Rails Performance and the root of all evil

Donald Knuth wrote an often quoted paper in the 70s which is still referenced when talking about performance in web apps today. Premature optimization is the root of all evil. In my line of work, it is sometimes invoked as a sort of apology; an excuse for why more time ... Read more

Getting down with Stackprof: how we added N+1 query detection to Scout

Let's get the confusing part out of the way: we're going to get a little "meta". This post is about using one performance tool (Stackprof) to improve another performance tool (Scout's Rails Agent) so Scout can diagnose a common performance pitfall (N+1 queries). Did I just put "performance" in a ... Read more

Monitoring Sidekiq Jobs

Teaser for a soon-to-be released capability: Overview metrics for all your background jobs Chart throughput, latency, error rate, and more. Detailed drill-down on slow jobs See what's making the job slow, identify N+1 queries, and more. Tech preview - want in? Background job monitoring currently supports sidekiq, and is tech ... Read more

Overhead Benchmarks: New Relic vs. Scout

High monitoring overhead is a silent killer : your app's requests take longer, throughput capacity shrinks, end users requests start stacking up in a request queue, you react by provisioning more servers, and finally, more servers == more $$$. So how does Scout's overhead compare with the competition? To find ... Read more

State of the 2016 Rails Stack

What's a Rails stacks look like in the wild these days? Most popular Rails version? Most popular Ruby? Is Delayed Job still hanging on? If you're curious about the above, you've come to the right place. We collect gems used on the apps we monitor at Scout to assist with ... Read more

Pillars of the Rails Monitoring Stack: 2020 Edition

Here's a behind-the-scenes rundown of how we ensure our apps are in peak condition in 2020 Read more

Git-integrated app monitoring

Tracking down slow code is about to get a lot faster. We're excited to debut our Github Integration for Scout Application Monitoring: With the Github Integration enabled, instead of seeing backtraces for slow method calls (>= 500 ms), you'll see the relevant code in our UI. This goes beyond the ... Read more

StackProf: The Holy Grail of Rails Profiling

Our Stackprof-inspired profiler, ScoutProf, is now in BETA. See our docs to get started. The holy grail of performance profiling is finding a tool that's safe to run in production. A tool that identifies slow code as it works "in the wild". Profiling code locally is never as good as ... Read more

Start your free 14-day trial today.
No credit card needed.