Async Ruby

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

Our great sponsors
  • Mergify - Automate your Pull Request with Mergify
  • Scout APM - Less time debugging, more time building
  • SonarQube - Static code analysis for 29 languages.
  • 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

  • Mergify

    Automate your Pull Request with Mergify. Mergify is the most powerful merge queue tool that offers speculative checks, batch merges, and multiple queueing options. Coordinated with any CI and fully integrated to GitHub. Get started or request a demo!

  • 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