Fibers & Cooperative Scheduling in Ruby
Continuations (known as Fibers) in Ruby 1.9 give us the ability to do cooperative scheduling, and implement synchronous API’s on top of async libraries, which are both much more efficient and avoid the complexity of threading. A hands on look at the theory, code, and applications.
Post a comment