Episode #581
Async with Multiplexing

In the last episode in this series, we took an initial crack at the problem of automatically coordinating asynchronous tasks. We used a looping approach where we checked in with all of our jobs and workers every time around the loop. Unfortunately, this strategy has some significant efficiency drawbacks. Today, we’ll apply a technique known as “multiplexing” to eliminate some unnecessary overhead.

Members only

Log in below or get 48-hour access for $5.

Need more time? See all available plans.