We were unable to find the exact article you were looking for. Here are some suggestions of similar articles.

4 Simple Steps to Detect & Fix Slow Rails Requests

BY Doug Breaker

2016 UPDATE : We’ve released Scout App Monitoring , which automates these steps for you. In Blink , Malcom Gladwell’s book on split-second decisions, Gladwell tells the story of how the Emergency Department at Chicago’s Cook County Hospital changed their process for diagnosing chest pain. Dr. Brendan Reilly instituted a ...

Read More →

 

Is your Rails app under-provisioned?

BY Doug Breaker

You maintain a growing Rails application and you’re seeing something peculiar. Sometimes when you use the application, it feels like the performance deteriorates significantly. However, all of your performance data shows no issues – requests in the Rails log file look speedy, CPU utilization is fine, database performance is solid, ...

Read More →

 

Visualizing Rails logs With Jupyter Notebook

BY Doug Breaker

Your Rails app appears to be humming along just fine. But then, out of the blue, one of your most important customers emails your support team: "the site is loading slowly - is something up"? You frantically browse around the site, but everything seems fine. You double-check the charts: things ...

Read More →

 

NEW! Request queuing and middleware instrumentation

BY Doug Breaker

Metrics for Christmas everyone! Get your metrics! We've added more metrics to Scout App Monitoring . These metrics will give you even greater visibility into the full request cycle of your Rails app: Request Queuing - judging if you have enough capacity to serve all your traffic is one of ...

Read More →

 

Tutorial: Tracing Python Flask requests with OpenTracing

BY Doug Breaker

A transaction trace is a GPS system for web performance: it paints a rich picture of the flow of a web request through your code. So, why doesn't everybody trace? I believe there are two reasons: Complex instrumentation : Adding in-app tracing instrumentation is more involved than calling logger.info() for ...

Read More →

 

Debugging request bottlenecks with realtime charts

BY Doug Breaker

Last week, one of our application servers died. We have four app servers, so in theory, the death of one app server shouldn't bring the entire platoon down. However, real-life had other plans: 95% of requests were handled fine, but around 5% were being dropped. Here's the story of how ...

Read More →

 

Unicorn vs. Puma vs. Passenger: which app server is right for you?

BY Derek Haynes

The Ruby app server ecosystem has consolidated around three app servers in 2017: Unicorn , Puma , and Passenger 5 . What specific problems must an app server solve for Ruby? How do you pick the right app server? Is there a need for each of these app servers in ...

Read More →

 

Birds of a Fiber: A look at Falcon, a modern asynchronous web server for Ruby

BY Derek Haynes

What is Falcon? The GitHub Readme describes Falcon as, "... *a multi-process, multi-fiber rack-compatible HTTP server ... Each request is executed within a lightweight fiber and can block on up-stream requests without stalling the entire server process."* The gist: Falcon aims to increase throughput of web applications by using Ruby’s Fibers to be able to continue serving requests while other requests are waiting on IO (ActiveRecord queries, network requests, file read/write, etc).

Read More →

 

Tutorial: Distributed Tracing in Ruby with OpenTracing

BY Doug Breaker

It's a lot harder connecting the dots of the request lifecycle when the final response is built from a number of separate microservices. However, distributed tracing - which connects a transaction trace across microservices - is getting a lot easier. In this short tutorial, I'll show how to add distributed ...

Read More →

 

Get notified of slow Rails web requests with Scout

BY Doug Breaker

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 ...

Read More →