Multithreaded Ruby — Synchronization, Race Conditions and Deadlocks

Threaded programming is hard. Mysterious, non-deterministic bugs and other issues can haunt you. What can we do about this?

Gernot Gradwohl
Better Programming
Published in
5 min readJun 20, 2019

--

Photo by yip vick on Unsplash

Threads, even on MRI Ruby, can lead to race conditions and deadlocks which can crash your service and are difficult to identify because of their…

--

--

Passionate programmer. Love the elegance of Ruby. Recently started to dig into functional programming with Elixir.