RubyGems Navigation menu

zmqmachine 0.7.1

ZMQMachine is another Ruby implementation of the reactor pattern but this time using 0mq sockets rather than POSIX sockets. Unlike the great Eventmachine ruby project and the Python Twisted project which work with POSIX sockets, ZMQMachine is inherently threaded. The 0mq sockets backing the reactor use a thread pool for performing their work so already it is different from most other reactors. Also, a single program may create multiple reactor instances which runs in its own thread. All activity within the reactor is single-threaded and asynchronous. It is possible to extend the 0mq library to "poll" normal file descriptors. This isn't on my roadmap but patches are accepted.


  1. 0.7.1 - November 30, 2011 (35.5 KB)
  2. 0.6.0 - July 21, 2011 (30.5 KB)
  3. 0.5.2 - July 21, 2011 (30.5 KB)
  4. 0.5.0 - December 22, 2010 (29 KB)
  5. 0.4.0 - December 22, 2010 (26 KB)
Show all versions (8 total)

Runtime Dependencies:

Development Dependencies:


  • Chuck Remes



Total downloads 20,320

For this version 1,776

Show all versions (8 total)

Required Ruby Version: None



gem 'zmqmachine', '~> 0.7.1' = Copy to clipboard Copied!

gem install zmqmachine = Copy to clipboard Copied!