Skip to main content

GONE IN 45 MINUTES: Rails World is now sold out. See you in Amsterdam!

  1. World
  2. Agenda
  3. 6th October 2023
  4. Session: Peter Zhu

Rails and the Ruby Garbage Collector - How to Speed Up Your Rails App

The Ruby garbage collector is a highly configurable component of Ruby. However, it’s a black box to most Rails developers. In this talk, we’ll look at:

  • How Ruby’s garbage collector works
  • The various ways to collect garbage collector metrics, analyze the data, and apply optimizations and configurations
  • How we sped up Shopify’s highest traffic app, Storefront Renderer, by 13%
  • Improvements we made in Ruby 3.3 to automatically make Rails apps faster for everyone
  • 11:00 - 11:30
  • 6th October 2023
  • Track 2

Session Speaker

Peter Zhu

Senior Developer, Shopify

Peter is a Ruby core committer and Senior Developer at Shopify. He is currently working on improving the performance of Ruby through projects such as Variable Width Allocation. He is the author of ruby_memcheck, a gem used to find memory leaks in native gems. It has found memory leaks in popular gems such as Nokogiri, protobuf, gRPC, liquid-c, and YARP.

Peter's Profile Picture