pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/digital-fabric/polyphony

k crossorigen="anonymous" media="all" rel="stylesheet" href="https://github.githubassets.com/assets/primer-8522af645b000615.css" /> GitHub - digital-fabric/polyphony: Fine-grained concurrency for Ruby · GitHub
Skip to content
This repository was archived by the owner on Sep 5, 2025. It is now read-only.

digital-fabric/polyphony

Repository files navigation

Polyphony: Fine-Grained Concurrency for Ruby

Ruby gem Tests MIT License

Polyphony | pəˈlɪf(ə)ni |

  1. Music the style of simultaneously combining a number of parts, each forming an individual melody and harmonizing with each other.

  2. Programming a Ruby gem for concurrent programming focusing on performance and developer happiness.

What is Polyphony?

Polyphony is a library for building concurrent applications in Ruby. Polyphony harnesses the power of Ruby fibers to provide a cooperative, sequential coroutine-based concurrency model. Under the hood, Polyphony uses io_uring or libev to maximize I/O performance.

Features

  • Ruby fibers as the main unit of concurrency.
  • Structured concurrency coupled with robust exception handling.
  • Message passing between fibers, even across threads!
  • High-performance I/O using the core Ruby I/O classes and io_uring with support for advanced I/O patterns.

Usage

Technical Discussion

Examples

For examples of specific use cases you can consult the bundled examples in Polyphony's GitHub repository.

Contributing to Polyphony

Issues and pull requests will be gladly accepted. Please use the Polyphony git repository as your primary point of departure for contributing.

Sponsor this project

 

Contributors

pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy