Asynchrony refers to the occurrence [and handling] of events independent of the main program flow. These may be outside events such as the arrival of signals, or [non-blocking] actions instigated by a program that take place concurrently with program execution.
Tag: asynchrony

Episode #583
Async with the Reactor Pattern
Ever wondered how async frameworks such as Ruby's EventMachine or Node.JS work under the hood? Those frameworks are built on a technology known as the Reactor Pattern, and today we're …

Episode #581
Async with Multiplexing
In our quest to coordinate asynchronous tasks, we've attempted a polling approach. Unfortunately, this strategy has some significant efficiency drawbacks. This time, we'll apply a technique known as "multiplexing", to …

Episode #570
Asynch with Polling
How can we make sure asynchronous work is done efficiently? In ep #2 of a series, we'll build one of the simplest possible solutions: a polling model.

Episode #559
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 series, we'll start by getting a handle …

Episode #520: Bundler Tips and Tricks with Andre Arko
Join André Arko for some recent and/or obscure Bundler features that you may have missed out on!

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

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

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.