Async Ruby

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

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

    Asynchronous WebSocket client and server, supporting HTTP/1 and HTTP/2 for Ruby.

  • Async has async-websocket gem. I don't have experience with it so can't tell how it compares to ActionCable.

    https://github.com/socketry/async-websocket

  • falcon

    A high-performance web server for Ruby, supporting HTTP/1, HTTP/2 and TLS. (by socketry)

  • This is all new to me as well, but the project mentioned the Falcon web server(https://github.com/socketry/falcon).

    The documentation for Falcon mentions using it with rails: https://socketry.github.io/falcon/guides/rails-integration/i...

    I imagine something more "native" to rails will happen eventually though. But would need to be after this makes its way into core ruby(which has not happened yet apparently).

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • AnyCable

    AnyCable for Ruby applications

  • I think what's being talked about here is the back end implementation for ActionCable. By default it uses ruby threads to push over open web sockets. There's at least one production quality drop in implementation (https://anycable.io/) that address the default scalability issues you'll have with ActionCable. The async support would seem to allow one to go much further with default rails before needing to move to something more performant.

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