RubyFlow The Ruby and Rails community linklog

×

The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

Understanding the Ruby Global VM Lock by observing it

The Global VM Lock (GVL), is an implementation detail of the Ruby VM. At a high-level, it prevents code across multiple threads from running in parallel. The GVL can have a big impact on the performance and responsiveness of any application that uses more than a single thread to do its work. I’ve recently presented on this topic at RubyKaigi 2023; live interactive examples, the video, and slides are available at https://ivoanjo.me/blog/2023/07/23/understanding-the-ruby-global-vm-lock-by-observing-it/ .

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in