Тёмный

Peter Zhu - Rails and the Ruby Garbage Collector: How to Speed Up Your Rails App - Rails World 2023 

Ruby on Rails
Подписаться 8 тыс.
Просмотров 3,8 тыс.
50% 1

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: blog.peterzhu.ca/assets/rails...
Links:
rubyonrails.org/
railsatscale.com/2023-08-08-t...
github.com/shopify/autotuner
blog.peterzhu.ca/notes-on-rub...
shopify.engineering/adventure...
#RailsWorld #RubyonRails #rails #rubygarbagecollection #autotuner
Thank you Dell APEX for sponsoring the editing and post-production of these videos. Visit them at: dell.com/APEX

Опубликовано:

 

18 окт 2023

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 5   
@mathieueustachy5380
@mathieueustachy5380 6 месяцев назад
Thanks for this amazing talk. For reader's knowledge, Ruby heap pages were 16kb for a long time (you will find a lot of resources saying they are 16kb) but this changed in late 2022 with Ruby 3.2 to 64kb, the update was made by Peter Zhu (speaker) :)
@edwingarcia5043
@edwingarcia5043 8 месяцев назад
Very informative and helpful talk, Peter, thanks.!
@yurtle1851
@yurtle1851 8 месяцев назад
autotuner looks awesome
@pedroa5720
@pedroa5720 9 месяцев назад
Great talk, Thanks for the gem!
@edwingarcia5043
@edwingarcia5043 8 месяцев назад
At 24:40 (out of band GC: I think this calls for introducing an arena garbage collector in Ruby. The area gets created at the beginning of the request, and it then freezes the memory it allocated at the end of the request. We would get fine memory control in this type of situations where me know to some extend the lifetime of objects. For reference we can look at Java's new Memory API (from project Panama).
Далее
РУБИН - ЗЕНИТ: ВСЕ ГОЛЫ
01:03
Просмотров 202 тыс.
МЕГА ФОКУС С ЧИПСАМИ
00:42
Просмотров 283 тыс.
Aaron Patterson - Tropical.rb Keynote
42:50
CHATGPT DOESN'T REASON! (Top scientist bombshell)
1:42:28
РУБИН - ЗЕНИТ: ВСЕ ГОЛЫ
01:03
Просмотров 202 тыс.