Episode #554
ActiveRecord Optimizations

For anyone who has been working with Ruby and Rails for any length of time, today’s guest chef needs no introduction. Aaron Patterson is a longtime member of both the Ruby and Rails core teams, and a prolific contributor to both projects.

One of the areas that Aaron has specialized in over the years is finding ways to make Ruby on Rails go faster and use fewer resources. In today’s episode, you’re going to get a rare peek behind the scenes, as Aaron uses his debugging and profiling skills to get to diagnose and fix some ActiveRecord code that uses an excessive amount of memory. In the process, you’ll get a window into how Aaron instruments code to understand its memory usage, and how he explores unfamiliar code to discover how it works. Enjoy!

Members only

Log in below or get 48-hour access for $5.

Need more time? See all available plans.