# ruby-concurrency/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.

Repository: https://github.com/ruby-concurrency/concurrent-ruby
Canonical: https://ross.abutalabs.com/products/concurrent-ruby
Homepage: https://ruby-concurrency.github.io/concurrent-ruby/
Language: Ruby
License: NOASSERTION
License Family: other
Topics: concurrency, ruby
Last push: 2026-07-19T13:35:41+00:00

## Health v2 (maintenance only)
Score: 83/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 93, release rhythm 61, longevity 100
- inputs: {"age_days": 4789, "days_push": 45, "days_rel": 45, "gap_med": 185, "n_releases_24m": 4}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 5831, forks 415 (observed 2026-08-28T04:09:30.171496+00:00)

## What it is
A Ruby gem providing modern concurrency abstractions such as futures, promises, agents, thread pools, and supervisors, inspired by Erlang, Clojure, Scala, and Java. It offers strong thread-safety guarantees across MRI, JRuby, and TruffleRuby with no external dependencies.

## Use cases
- run async tasks with futures and promises in ruby
- manage a thread pool for background jobs
- share mutable state safely between threads
- implement actor-style concurrency in ruby
- avoid race conditions with thread-safe data structures
- parallelize work across ruby interpreters

## When to choose
- you need battle-tested, thread-safe concurrency primitives in Ruby
- you want a dependency-free toolbox that works on MRI, JRuby, and TruffleRuby
- you need futures, promises, or thread pools without pulling in a full framework

## When to avoid
- you need distributed or multi-process concurrency rather than in-process threading
- you want an opinionated async framework with scheduling and supervision built into a larger ecosystem
- your project is not Ruby

## Facets
- artifact type: library
- maturity: stable
- function: concurrency
- domain: developer-tools, programming-languages
- platform: ruby, jvm, cross-platform
- tags: futures, promises, thread-pools, actors, thread-safety, gem

## Member repositories
- ruby-concurrency/concurrent-ruby (main) score 83

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:30.171496+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:52:04.693983+00:00, confidence not recorded.
  - readme: https://github.com/ruby-concurrency/concurrent-ruby (fetched 2026-08-28T04:09:30.171496+00:00, sha 32ec5b61627b)
  - homepage: https://ruby-concurrency.github.io/concurrent-ruby/ (fetched 2026-08-29T08:47:28.444966+00:00, sha abc150fc5bf5)
- Data as of 2026-08-30T08:39:29.467469+00:00.
