ruby-concurrency

concurrent-ruby

ruby-concurrency

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

AI 简介

concurrent-ruby 是一个为 Ruby 提供现代并发编程工具的轻量级库。它实现了多种受 Erlang、Clojure、Scala 等语言启发的并发原语,包括 Agent、Future、Promise、线程池、Supervisor 等,并在 MRI、JRuby 和 TruffleRuby 上提供统一且强一致的线程安全保证。该库无外部依赖,设计遵循 Ruby 习惯用法,强调松耦合与向后兼容。适用于需要高可靠性多线程处理的 Ruby 应用场景,如 Web 服务异步任务调度、后台作业协调、IO 密集型服务扩展等。

Ruby
Other
5.8k
Stars
413
Forks
113
Watchers
48
Issues

Star 增长

今日0
近 7 天0
近 30 天0
综合评分63.85
默认分支master