Go to content

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, @shopify Senior Developer & member of the Ruby Core team Peter Zhu shows you how Ruby's garbage collector works, ways to collect garbage collector metrics, how Shopify sped up their highest traffic app, Storefront Renderer, by 13%, and finally, introduces Autotuner, a new tool designed to help you tune the garbage collector of your Rails app. Slides available at: https://blog.peterzhu.ca/assets/rails_world_2023_slides.pdf Links: https://rubyonrails.org/ https://railsatscale.com/2023-08-08-two-garbage-collection-improvements-made-our-storefronts-8-faster/ https://github.com/shopify/autotuner https://blog.peterzhu.ca/notes-on-ruby-gc/ https://shopify.engineering/adventures-in-garbage-collection #RailsWorld #RubyonRails #rails #rubygarbagecollection #autotuner Thank you Dell APEX for sponsoring the editing and post-production of these videos. Visit them at: https://dell.com/APEX

October 5, 2023