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

Поделиться
HTML-код
  • Опубликовано: 14 янв 2025

Комментарии • 5

  • @mathieueustachy5380
    @mathieueustachy5380 11 месяцев назад +5

    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) :)

  • @yurtle1851
    @yurtle1851 Год назад +3

    autotuner looks awesome

  • @edwingarcia5043
    @edwingarcia5043 Год назад +1

    Very informative and helpful talk, Peter, thanks.!

  • @pedroa5720
    @pedroa5720 Год назад +2

    Great talk, Thanks for the gem!

  • @edwingarcia5043
    @edwingarcia5043 Год назад +4

    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).