Finding slow ActiveRecord queries with Scout

Once your Rails app begins seeing consistent traffic, slow SQL queries will likely rear their ugly head, but how can you easily tell where your app is slowing down? Read more

Setting up a Rails app for CodeBuild, CodeDeploy, and CodePipeline on AWS

If you've followed along with our previous episodes, we've covered many different aspects of setting up a production service. We've used many different products to simplify the day-to-day operations of running and maintaining an application. We've used Scout for monitoring our application, LogDNA for aggregating our logs, HoneyBadger for our ... Read more

A 5-point Rails app performance audit

Performance in almost all web apps - including Rails - follows an 80/20 rule: most of your performance problems will be contained within a small amount of the application code. Read more

Five tools for profiling Rails apps

Finding profilers that reliably work with little effort was a bigger challenge than I thought. Here's a summary of the Rails profiler ecosystem: what works, what doesn't, and each profiler's niche. Read more

State of the 2017 Rails Stack

Are folks upgrading to Rails 5? Where is the Postgres vs. MySQL battle heading? Are devs embracing Puma and concurrency? 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 debugging issues and to ... Read more

Coming Soon: your Rails app performance trends & outliers, via email

I follow a simple rule before configuring a monitoring alert: if I receive this alert at 3am, will I act on it? If not, it shouldn't be an alert. Few performance-related alerts meet this criteria. For example, if our app is running 25% slower, it's not worth a hasty 3am ... Read more

DevTrace and the Art of Staying the F*** Out of the Way

DevTrace is a performance widget for your Rails applications in development. It sits unobtrusively in the corner of your page, just waiting to drop insight on your application: See stack traces, SQL timings, and more with just a click! This kind of insight is powerful. You can see how your ... Read more

Faster PostgreSQL Searches with Trigrams

There's nothing quite like having a "tool-belt" full of tricks for getting the most performance out of your Rails app. This week, Rails Postgres Guru Greg Navis shares another powerful tip. A few months ago, I was working on a project that had about 100,000 users. Each user could have ... Read more

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

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