dev-resources.site
for different kinds of informations.
Explaining Ruby Fibers
Published at
10/20/2021
Categories
ruby
concurrency
Author
Sharon Rosner
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...
Articles
12 articles in total
Papercraft - Composable Templating for Ruby
read article
About that monkey-patching business...
read article
Explaining Ruby Fibers
currently reading
Embracing Infinite Loops with Ruby and Polyphony
read article
A Compositional Approach to Optimizing the Performance of Ruby Apps
read article
How I Write Code: Pen & Paper
read article
Ever: a callback-less event reactor for Ruby
read article
What's new in Polyphony and Tipi - August 2021 edition
read article
What's new in Polyphony - July 2021 edition
read article
What's new in Polyphony - June 2021 edition
read article
Polyphony has an io_uring backend!
read article
Polyphony - fine-grained concurrency for Ruby
read article
Featured ones: