# Concurrent Ruby

> Thread-safe futures, promises, thread pools, agents and atomics for Ruby

Source: https://talira.ai/catalog/concurrent-ruby-7ytrd03k
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library
- Categories: [libraries / concurrency](https://talira.ai/categories/libraries/concurrency), [languages / ruby](https://talira.ai/categories/languages/ruby)
- Licence: MIT[^2]
- Pricing: Free and open source[^1]
- Free tier: yes[^1]
- Backed by: [Ruby Concurrency](https://talira.ai/orgs/ruby-concurrency.md)

Concurrent Ruby is a toolbox of concurrency abstractions for Ruby, inspired by Erlang, Clojure, Scala, Java and other languages, with no external gem dependencies. It offers promises and futures, scheduled and timer tasks, Java-style thread pools and executors, Clojure-style agents, thread-safe Array, Hash and Map, atomic references and other thread-safe variables, and synchronization primitives such as semaphores and latches. Every abstraction is thread safe on MRI/CRuby, JRuby and TruffleRuby. Actors and other experimental features ship in the separate concurrent-ruby-edge gem.

## Links

- Website: https://ruby-concurrency.github.io/concurrent-ruby/
- GitHub: https://github.com/ruby-concurrency/concurrent-ruby
- Docs: https://ruby-concurrency.github.io/concurrent-ruby/

## Problems it solves

- run background work in a thread pool in Ruby
- share a hash safely between threads in a Ruby app
- chain asynchronous tasks with futures and promises in Ruby

## Features

- promises and futures, non-blocking and lock-free
- Java-style thread pools and executors
- Clojure-style agents and atomic references
- thread-safe Array, Hash and Map
- semaphores, latches and other synchronization primitives

## Limitations

- Features in concurrent-ruby-edge stay at version 0.y.z and may change incompatibly at any time[^1]

## Trust

Overall: 0.56 out of 1.
Signals: maintenance 0.65, adoption 0.75, momentum 0.47, community 0.90, backing 0.30, extensibility 0.00.

- last commit 4 days ago
- 8 commits in the last 90 days
- latest release v1.3.8 4 months ago
- 5.8k GitHub stars
- 179 contributors
- backed by Ruby Concurrency

## Alternatives

- [parallel (Ruby)](https://talira.ai/catalog/parallel-ruby-9rb4yzkq.md): Run Ruby code in parallel processes, threads or Ractors

## Sources

[^1]: https://github.com/ruby-concurrency/concurrent-ruby#readme (checked 28 Nov 2026)
[^2]: https://github.com/ruby-concurrency/concurrent-ruby/blob/master/LICENSE.txt (checked 28 Nov 2026)
