RubyGems.org

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.

installgem install zmqmachine
Authors

Chuck Remes

19,570 total downloads 1,640 for this version
Owners

18acc61ee33a819be6aaac46a92bba43

Gemfile
gem 'zmqmachine', '~> 0.7.1'
Versions
  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
  1. ffi-rzmq >= 0.9.2
Development Dependencies
  1. bones >= 3.5.4