Polyphony: Fine-Grained Concurrency for Ruby

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

Stream - Scalable APIs for Chat, Feeds, Moderation, & Video.
Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure.
getstream.io
featured
InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com
featured
  1. Polyphony

    Fine-grained concurrency for Ruby

  2. Stream

    Stream - Scalable APIs for Chat, Feeds, Moderation, & Video. Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure.

    Stream logo
  3. libev

    Full-featured high-performance event loop loosely modelled after libevent

    Thank you for this.

    I am interested in how concurrency can be represented elegantly and efficiently, so I am interested in how libraries can simplify async and make it easier to reason about and write

    The libev and ioring support is great for IO scalability (https://github.com/enki/libev not sure if this is the official repo)

    In Python I use the "select" module and use epoll on Linux.

    I am currently thinking of designing an API that allows the registration of epoll-like listeners to arbitrary objects, including business objects, so you can efficiently register a listener on multiple behaviours of multiple arbitrary objects.

    I wrote an async/await simulation in Java and my scheduler is really simple, it's just a for loop that checks to see if there are any tasks that can progress. I notice the switch_fiber in polyphony must do something similar. This is similar to a yield in a coroutine.

    My async/await simulation takes the following program:

      task1:

  4. trio

    Trio – a friendly Python library for async concurrency and I/O

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

  • Philosophy of Coroutines

    7 projects | news.ycombinator.com | 1 Sep 2023
  • Polyphony 1.4 Released

    2 projects | /r/ruby | 2 Jul 2023
  • Polyphony 0.99 released. Last release before 1.0!

    2 projects | /r/ruby | 9 Mar 2023
  • Polyphony – Fine-grained concurrency for Ruby

    1 project | news.ycombinator.com | 14 Nov 2021
  • About that monkey-patching business...

    1 project | dev.to | 4 Nov 2021