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 series, we'll start by getting a handle …
Tag: threads

Episode #515: Guilds with Steve Klabnik
Get a sneak peek at the possible future of Ruby concurrency, with guest chef Steve Klabnik!

Simplify service requests with fibers
How do you get multithreaded code right? The first step is to see if you can avoid using threads at all! The other day I was adapting an email course …

Understanding Ruby Thread-Local Variables
Global settings can cause havoc when threads are introduced. Learn when and how to use Ruby's thread-local variables instead.

Episode #407: Pseudoglobal
In which we put some fears about thread-safety to the test, and to rest.

Episode #319: Log Thread
In this episode, we'll move logging into a dedicated, low-priority thread.

Episode #161: 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.

Episode #157: Lockstep Testing
In this episode we'll explore a novel technique for testing multithreaded code. The lockstep library can be found here: https://github.com/avdi/lockstep

Episode #145: Active Object
Continuing with the general theme of threads and concurrency, today we look at another pattern for splitting up work in parallel.