Category

Concurrent Processing

Tools that simplify the writing of concurrent Ruby programs

20.64
A long-lived project that still receives updates
Modern concurrency tools including agents, futures, promises, thread pools, actors, supervisors, and more. Inspired by Erlang, Clojure, Go, JavaScript, actors, and classic concurrency patterns.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
12.73
No release in over a year
EventMachine implements a fast, single-threaded engine for arbitrary network communications. It's extremely easy to use in Ruby. EventMachine wraps all interactions with IP sockets, allowing programs to concentrate on the implementation of network protocols. It can be used to create both network servers and clients. To create a server or client, a Ruby program only needs to specify the IP address and port, and provide a Module that implements the communications protocol. Implementations of several standard network protocols are provided with the package, primarily to serve as examples. The real goal of EventMachine is to enable programs to easily interface with other programs using TCP/IP, especially if custom protocols are required.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
7.74
Repository is archived
A long-lived project that still receives updates
Celluloid enables people to build concurrent programs out of concurrent objects just as easily as they build sequential programs out of sequential objects
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
0.6
Low commit activity in last 3 years
A long-lived project that still receives updates
Cool.io provides a high performance event framework for Ruby which uses the libev C library
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
0.29
The project is in a healthy, maintained state
Async provides a modern asynchronous I/O framework for Ruby, based on nio4r. It implements the reactor pattern, providing both IO and timer based events.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
0.01
No commit activity in last 3 years
No release in over 3 years
A lightweight, extensible asynchronous event routing framework in Ruby.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
0.07
No commit activity in last 3 years
No release in over 3 years
Dataflow concurrency for Ruby (inspired by the Oz language)
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
0.01
No release in over a year
{Eventbox} objects are event based and single threaded from the inside but thread-safe and blocking from the outside. Eventbox enforces a separation of code for event processing and code running blocking operations. Code inside an {Eventbox} object is executed non-concurrently and hence shouldn't do any blocking operations. This is similar to the typical JavaScript programming style.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019