Polyphony: Fine-Grained Concurrency for Ruby

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

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.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • Polyphony

    Fine-grained concurrency for Ruby

  • 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:

  • 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
  • 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