On Rails

Jean Boussier & IO-Bound Misconceptions


Listen Later

Jean Boussier, Senior Staff Engineer at Shopify and member of the Rails Core team, joins Robby to dig into the performance realities behind modern Rails apps.

They explore what it means to be IO-bound or CPU-bound, how Ruby’s Global VM Lock affects concurrency, and why "fast" is too vague to be useful. Jean explains why instrumentation is often the missing piece and shares thoughtful approaches to using background jobs with intention.

They also talk about gem dependencies. The gems in your `Gemfile` are not magic. If your app depends on them, you should understand them. You can read the code. You can patch it. You can make it your own.

This episode is a reminder that Rails is not a black box. It is a system you can study, shape, and improve. The more you learn how it works, the more confidently you can build with it.

🔗 References & Resources Mentioned

- 📖 Crafting Interpreters – A book Jean recommends for understanding how interpreters and Ruby internals work  

- 🧵 GVL Tools (Shopify gem) – A tool for measuring thread contention in Ruby apps  

- 📊 AppSignal – Monitoring platform that integrates with GVL instrumentation  

- 🚢 ShipIt Engine – Shopify’s open-source deployment tool  

- 🔒 Ruby’s Global VM Lock – Overview of what the GVL is and how it works  

- 🦄 Unicorn – A classic preforking Ruby web server  

- 🐆 Puma – A multi-threaded Ruby/Rack web server  

- 🔀 Pitchfork – Shopify’s fork of Unicorn, optimized for their infrastructure  

- ⚙️ ActiveRecord Async Queries – Jean’s Rails Core contribution for backgrounding slow queries  

- 🔗 GraphQL – Used at Shopify to structure and query API data



Send us a text

On Rails is a podcast focused on real-world technical decision-making, exploring how teams are scaling, architecting, and solving complex challenges with Rails.

On Rails is brought to you by The Rails Foundation, and hosted by Robby Russell of Planet Argon, a consultancy that helps teams modernize their Ruby on Rails applications.

...more
View all episodesView all episodes
Download on the App Store

On RailsBy Rails Foundation, Robby Russell

  • 5
  • 5
  • 5
  • 5
  • 5

5

9 ratings


More shows like On Rails

View all
Under the Radar by Relay

Under the Radar

211 Listeners

The Bike Shed by thoughtbot

The Bike Shed

121 Listeners

Making Sense with Sam Harris by Sam Harris

Making Sense with Sam Harris

26,376 Listeners

Soft Skills Engineering by Jamison Dance and Dave Smith

Soft Skills Engineering

284 Listeners

Y Combinator Startup Podcast by Y Combinator

Y Combinator Startup Podcast

230 Listeners

Syntax - Tasty Web Development Treats by Wes Bos & Scott Tolinski - Full Stack JavaScript Web Developers

Syntax - Tasty Web Development Treats

984 Listeners

REWORK by 37signals

REWORK

210 Listeners

Darknet Diaries by Jack Rhysider

Darknet Diaries

8,001 Listeners

Remote Ruby by Chris Oliver, Andrew Mason

Remote Ruby

35 Listeners

Maintainable by Robby Russell

Maintainable

32 Listeners

All-In with Chamath, Jason, Sacks & Friedberg by All-In Podcast, LLC

All-In with Chamath, Jason, Sacks & Friedberg

9,799 Listeners

Code and the Coding Coders who Code it by Drew Bragg

Code and the Coding Coders who Code it

6 Listeners

The Pragmatic Engineer by Gergely Orosz

The Pragmatic Engineer

65 Listeners

Rails Business by Brendan Buckingham & Ryan Frisch

Rails Business

0 Listeners

The Ruby AI Podcast by Valentino Stoll, Joe Leo

The Ruby AI Podcast

3 Listeners