zmqmachine

zmqmachine

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.

Rubygem zmqmachine

Total Downloads
18959
Releases
8
Current Version
0.7.1
Released
2011-11-30 06:00:00 UTC
First Release
2010-08-15 05:00:00 UTC
Depends on following gems
Depending Gems
1

Github chuckremes/zmqmachine

Watchers
85
Forks
7
Development activity
Inactive
Last commit
2013-01-10 02:06:50 UTC
First commit
Top contributors
Contributors
2
Issues

Resources

There are no resources yet, be the first to submit one!

Comments

There are no comments yet, be the first to write one!

Post a comment

Markdown supported
or
×

In order to continue, you must be signed in using your Github account.

If you're signing in using this account for the first time Github will ask for your permission to give access to your public user data to the Ruby Toolbox.

Although the Github Authorization page does not mention it, the request includes read-only access to your verified email address (user:email OAuth scope). This is neccessary so there's a way to notify you about comments, information about your accepted project edits and the like. You can review your notification settings on your account page once you're signed in.