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.
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.
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 …
Join André Arko for some recent and/or obscure Bundler features that you may have missed out on!
Get a sneak peek at the possible future of Ruby concurrency, with guest chef Steve Klabnik!
If you're making subprocesses on a UNIX-like OS, you're using fork(). Learn all about using fork() from Ruby.
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 …
Global settings can cause havoc when threads are introduced. Learn when and how to use Ruby's thread-local variables instead.
In which we put some fears about thread-safety to the test, and to rest.
In this episode, we'll move logging into a dedicated, low-priority thread.
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 time to refactor. The steps of this …