Logo

dev-resources.site

for different kinds of informations.

Explaining Ruby Fibers

Published at
10/20/2021
Categories
ruby
concurrency
Author
Sharon Rosner
Categories
2 categories in total
ruby
open
concurrency
open
Explaining Ruby Fibers

Fibers have long been a neglected corner of the Ruby core API, have never really seemed to deliver on their promise of lightweight concurrency, and remain relatively little explored. In this article I'll explain how fibers work from the point of view of a concurrent Ruby application written using Polyphony. I'll give an overview of fibers as concurrency constructs, and discuss how Polyphony harnesses Ruby fibers in order to provide an idiomatic and performant solution for writing highly-concurrent Ruby apps. Read on...

Featured ones: