RubyGems Navigation menu

zmqmachine 0.4.0

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.

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:

Development Dependencies:

Authors:

  • Chuck Remes

Owners:

18acc61ee33a819be6aaac46a92bba43

Total downloads 20,320

For this version 1,388

Show all versions (8 total)

Required Ruby Version: None

Licenses:

N/A

Gemfile:
gem 'zmqmachine', '~> 0.4.0' = Copy to clipboard Copied!

install:
gem install zmqmachine -v 0.4.0 = Copy to clipboard Copied!

Links: