How to use Mint, an awesome HTTP library for Elixir - Part 01

Mint is a shiny new elixir package which allows you to make HTTP requests using the HTTP 1, and HTTP 2 protocols. Let us see how we can start using it to improve our web apps performance. Read more

The danger of Rails.env.production?

When I do a code review, one of the scariest things I see is logic like this: if Rails.env.production? do_additional_work end Why? Your beautiful tests and tightly integrated CI system won't execute that code. You won't see that code execute as you refresh your browser in development. From syntax errors ... Read more

Rails::API vs. Sinatra vs. Grape: which Ruby microframework is right for you?

Rails dominates Ruby web frameworks: the next most popular framework, Sinatra, has 5% of the popularity of Rails . However, that doesn't mean non-Rails frameworks like Sinatra and Grape don't have their place. When does it make sense to step away from ActionController and use another framework? What are the ... Read more

PyCon 2019 - Scout brings APM for Python

The 2019 edition of PyCon USA takes place over the next few days in Cleveland, Ohio - and Scout is delighted to be there, sharing our APM tool with the Python community. Read more

Restricting Process CPU Usage Using nice, cpulimit, and cgroups

There are at least three ways in which you can control how much CPU time a process gets: Use the nice command to manually lower the task's priority; use the cpulimit command to repeatedly pause the process so that it doesn't exceed a certain limit; use Linux's built-in control groups, a mechanism which tells the scheduler to limit the amount of resources available to the process. Read more

Is your Django app slow? Think like a data scientist, not an engineer

I'm an engineer by trade. I rely on intuition when investigating a slow Django app. I've solved a lot of performance issues over the years and the short cuts my brain takes often work. However, intuition can fail. It can fail hard in complex Django apps with many layers (ex: ... Read more

Forecasting Web Traffic with Scout and Prophet

Forecasting traffic to your web app is important for capacity planning, but generating a seasonally accurate model of your traffic is pretty daunting. If you under-forecast: Your app servers may become oversaturated, and requests will start backing up in a queue. If you over-forecast you may end up overspending. Read more

What you need to know about Ruby Interpreter

Using the right Ruby interpreter to run your programs can make all the difference. Unfortunately, it can be tough to find resources about different Ruby interpreter options, or about how to choose the right one. Below, we’ve compiled a wealth of information about interpreters in Ruby. Even if you start this article asking "What is a Ruby interpreter?", you’ll learn exactly what you need to know to make the right decision. Read more

Omnibus Tutorial: Package a standalone Ruby gem

A couple of years ago I visited Argentina. I have trouble enough pronouncing my limited English vocabulary and I don't speak Spanish, but after a bit of time, it was pretty easy to order food, buy groceries, and use a taxi. However, occasional hangups that happen during my regular life ... Read more

Quick blog post about throughput sparkline feature

We've had sparkline charts of response time for a long time on our Endpoints tab, and now have extended them to the throughput column as well. Quickly isolate endpoints that are spiking with traffic, and drill down into them to diagnose. No need to hunt to see what's causing an unusual trend in traffic. Read more

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