← Graph

Fiber Scheduler

concept 5 connections

Interface introduced in Ruby 3.0 by Samuel Williams. Provides hooks inside the Ruby IO implementation so that, in the presence of a scheduler, blocking IO calls are deferred to the scheduler, which performs them in a fiber-aware non-blocking way. Gives compatibility with essentially the whole Ruby ecosystem without code changes. Current implementations include Samuel Williams's async family of gems and UringMachine's scheduler.

category
architecture
introduced_in
Ruby 3.0
Discusses Ruby's Fiber Scheduler interface and UringMachine's implementation of it.
authored
Fiber Scheduler concept
Introduced the Fiber Scheduler interface to Ruby 3.0.
concept Fiber Scheduler
related_to
Ruby tool
Interface added to Ruby 3.0 by Samuel Williams.
project UringMachine
uses
Fiber Scheduler concept
UringMachine includes a Ruby Fiber Scheduler implementation for ecosystem compatibility.
tool async
uses
Fiber Scheduler concept
async is a fiber-scheduler implementation.

Provenance

Read by
1 extraction