Async Ruby

This page summarizes the projects mentioned and recommended in the original post on /r/ruby

Our great sponsors
  • InfluxDB - Collect and Analyze Billions of Data Points in Real Time
  • Onboard AI - Learn any GitHub repo in 59 seconds
  • SaaSHub - Software Alternatives and Reviews
  • Async Ruby

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

    Indeed, and this is a limitation of running networking libraries with no specific knowledge of the inner event loop. The article mentions using URI.openor net-http with async for parallel requests, but this only works if the underlying sockets aren't shared across fibers, something that more advanced libraries do for you. This is something I found out while testing httpx inside async , and it's something impossible to do atm without async-specific code (what async-http does), something which will hopefully be addressed. Do you know if polyphony suffers from the same limitation?

  • Polyphony

    Fine-grained concurrency for Ruby

    how is this diff from: https://github.com/digital-fabric/polyphony

  • InfluxDB

    Collect and Analyze Billions of Data Points in Real Time. Manage all types of time series data in a single, purpose-built database. Run at any scale in any environment in the cloud, on-premises, or at the edge.

  • Ruby on Rails

    Ruby on Rails

    It seems that Active Record compatibility is being discussed here. It's kind of cool that all it took for Sequel to be async-compatible was to replace Thread.current with Fiber.current.

  • Sequel

    Sequel: The Database Toolkit for Ruby

    It seems that Active Record compatibility is being discussed here. It's kind of cool that all it took for Sequel to be async-compatible was to replace Thread.current with Fiber.current.

  • Puma

    A Ruby/Rack web server built for parallelism

    there is a PR on puma for this: https://github.com/puma/puma/pull/2601

  • async-await

    Why wait? It's available today!

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