Async Ruby

Explore options for asynchrony in Ruby, including threads, mutexes, queues, Reactors, Futures, Promises, Fibers, Guilds and much more.

Robust Ruby

Get expert guidance on logging, failure management, and performance optimization in Ruby

Full Utilization

Let's talk about asynchronous code. How do we manage parallel-but-interdependent workflows without losing its place or wasting time? In the first of a…

Subprocesses Part 11: Fork

If you're making subprocesses on a UNIX-like OS, you're using fork(). Learn all about using fork() from Ruby.

Pseudoglobal

In which we put some fears about thread-safety to the test, and to rest.

Log Thread

In this episode, we'll move logging into a dedicated, low-priority thread.

Refactor Tapas::Queue

In previous episodes, we got the Tapas::Queue class under test, using a couple of different thread-testing techniques. Now that it has tests, it's tim…

Thread Local Variable

Today's episode introduces the concept of thread-local variables, and shows how they can be put to use in an ActiveRecord-like library.