Ruby 3 adds Scheduler Interface for Fibers

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • Async Ruby

    An awesome asynchronous event-driven reactor for Ruby. (by socketry)

  • i think this announcement https://brunosutic.com/blog/async-ruby & the associated async libraries (https://github.com/socketry/async) do a much better job of showing off the potential for the ruby 3.1+ fiber scheduler. Async gem is powered by a fiber scheduler under the hood, and what you get is un-colored async-ready ruby code.

    That is to say, you can write a normal rack app with falcon/async and get node/event-loop scale co-operative concurrency without changing your code. Its pretty exciting!

    Unfortunately rails makes heavy use of Thread locals, so its going to take awhile until its async-ready, but I believe progress is being made (Async ActiveRecord was merged recently).

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts