Ruby Concurrency

Open-source Ruby projects categorized as Concurrency

Top 11 Ruby Concurrency Projects

  • Concurrent Ruby

    Modern concurrency tools including agents, futures, promises, thread pools, supervisors, and more. Inspired by Erlang, Clojure, Scala, Go, Java, JavaScript, and classic concurrency patterns.

    Project mention: Exploring concurrent rate limiters, mutexes, semaphores | dev.to | 2023-09-11

    After this, I took a look at the semaphore class in the popular library, concurrent-ruby to see how they implement it, and I learnt about something new: condition variables. And Ruby comes with this included!

  • EventMachine

    EventMachine: fast, simple event-processing library for Ruby programs

    Project mention: I don’t get all the hate for PHP and at this point I am too afraid to ask. | /r/ProgrammerHumor | 2023-02-07

    You could also use something like EventMachine (In ruby), Twisted (Python), Node (JS) or ReactPHP (for PHP) that will use the language and turn it into a web application server, and then you'll have only one long running process that handle all your requests with shared memory. You could even use something more fancy like RoadRunner in the case of PHP.

  • SonarLint

    Clean code begins in your IDE with SonarLint. Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today.

  • Celluloid

    Actor-based concurrent object framework for Ruby

  • JRuby

    JRuby, an implementation of Ruby on the JVM

    Project mention: JRuby 9.4.2.0 released with many fixes and improvements | /r/ruby | 2023-03-08

    __callee__ now properly returns the name under which a method was called, which will be the new name in the case of aliased methods. #2305, #7702

  • Async Ruby

    An awesome asynchronous event-driven reactor for Ruby. (by socketry)

    Project mention: EventMachine Performance Spikes | /r/ruby | 2023-09-05

    The Async gem is the natural successor, It's actively maintained, and allows you write synchronous code is if it wasn't non-blocking, and most libraries don't need any special support for Async (exceptions are gems with C extensions that do I/O and DB libraries with connection pooling that would otherwise be thread-based).

  • render_async

    render_async lets you include pages asynchronously with AJAX

    Project mention: how would i create a progress bar in rails front-end using jquery and bootstrap with ajax calls to another rails server, which returns progress statistics in api | /r/rails | 2022-11-09

    If it were a more simple rails app you could use https://github.com/renderedtext/render_async

  • sidekiq-throttled

    Concurrency and rate-limit throttling for Sidekiq

  • Mergify

    Updating dependencies is time-consuming.. Solutions like Dependabot or Renovate update but don't merge dependencies. You need to do it manually while it could be fully automated! Add a Merge Queue to your workflow and stop caring about PR management & merging. Try Mergify for free.

  • paralines

    Nice output to console/file from concurrent threads

    Project mention: Simple MapReduce that melt my brain (yes, fibers there) | /r/ruby | 2023-03-16

    Now the problem: how to organize concurrency/parallelization? (I like to do parallel things with Ruby)

  • concurrent_rails

    🕹 Small library to make concurrent-ruby and Rails play nice together

  • distributed-lock-google-cloud-storage-ruby

    Ruby implementation of a distributed lock based on Google Cloud Storage

  • Opal-Async

    Non-blocking tasks and enumerators for Opal.

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2023-09-11.

Ruby Concurrency related posts

Index

What are some of the best open-source Concurrency projects in Ruby? This list will help you:

Project Stars
1 Concurrent Ruby 5,536
2 EventMachine 4,225
3 Celluloid 3,884
4 JRuby 3,710
5 Async Ruby 1,853
6 render_async 1,072
7 sidekiq-throttled 566
8 paralines 44
9 concurrent_rails 28
10 distributed-lock-google-cloud-storage-ruby 16
11 Opal-Async 8
Collect and Analyze Billions of Data Points in Real Time
Manage all types of time series data in a single, purpose-built database. Run at any scale in any environment in the cloud, on-premises, or at the edge.
www.influxdata.com