Five Tools for Profiling Rails Apps

Finding profilers that reliably work proves to be a bigger challenge than most devs think. Here's a summary of the Rails profiler ecosystem: what works, what doesn't, and each profiler's niche. Read more

5 hard-earned lessons from a decade of Rails performance work

The last 3,650 days of my professional life have been focused on making Rails apps faster. Below are five lessons I've learned the hard way. 1. Facts alone won't convince the business folk to care about performance The typical pitch to prioritize making an app faster & more reliable goes ... Read more

A Tour of 7 Popular Ruby Frameworks in 2021

Ruby may be over 25 years old, but it remains popular in the software community for its focus on programmer happiness. Building software with Ruby often involves leveraging one or more popular frameworks for the purpose of increasing productivity by relying on existing solutions to common problems. Ruby frameworks generally ... Read more

Ruby Garbage Collection | Memory Management

Ruby Garbage Collection: More Exciting than it Sounds Running software uses computer memory for data structures and executable operations. How this memory is accessed and managed depends on the operating system and the programming language. Many modern programming languages manage memory for you, and Ruby is no different. Ruby manages ... Read more

How to Use Lambdas in Ruby

Lambdas are a powerful feature of the Ruby language. They allow you to wrap logic and data into a portable package. In this post, we’ll cover how and when to use lambdas. You’’ll also learn about the difference between lambdas and Procs, and the performance profile of lambda functions. The ... Read more

How to Start Using Counter Caches in Rails

Learn how to use counter cache in your rails app, parent-child associations, counter cache best practice. Read more

A Complete Guide to Rails Caching

If you are using Ruby on Rails, caching might be one of the best tools on your belt to build a better application. The idea behind caching in Rails is to serve thousands of concurrent users on a single server with a single database attached. Let’s take a look at some of the benefits caching can provide. Read more

Python Language vs. Ruby Language

In this blog post, we'll be going through two server-side scripting languages; Python and Ruby with focus on comparing the performance and other factors that might help you in deciding which language to pick over the other for your web application. Read more

Exception Handling in Ruby

What is exception handling? Software systems can be quite prone to error conditions. Systems that involve user interaction are more vulnerable to exceptions as they attract errors at multiple fronts. Errors can take many forms - syntactical errors, network errors, form input errors, invalid authentication errors etc. I Read more

Introducing AutoInstruments: zero-effort performance monitoring of custom Ruby code

AutoInstruments wraps instrumentation around code expressions in Ruby on Rails controllers by inspecting Ruby’s Abstract Syntax Tree (AST) as code is loaded. These code expressions then appear in traces, just like the many libraries Scout already instruments. Read more

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