Overview
Explore the intricacies of Ruby's Global VM Lock (GVL/GIL) in this 29-minute conference talk from RubyConf 2024. Gain deep insights into this crucial Ruby implementation detail that significantly affects application latency and performance. Learn how the GVL prevents parallel execution of Ruby code across multiple threads while maintaining safe concurrency. Discover practical applications through demonstrations using the `gvl-tracing` gem, and understand the relationships between Ractors, M:N scheduling, and fibers. Master the tools needed to evaluate GVL impact on applications and acquire essential Ruby performance optimization techniques and best practices.
Syllabus
RubyConf 2024 How the Ruby Global VM Lock impacts app performance by Ivo Anjo
Taught by
Ruby Central