User Tools

Site Tools


info:zeromq

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
info:zeromq [2013-11-06 21:00]
sam [Encryption]
info:zeromq [2014-08-20 16:49]
sam [Integrating with Event Loops]
Line 8: Line 8:
   * Looks like it could be useful in cases where you might otherwise use a plain socket; also works for in-process (cross-thread) communication and IPC (UNIX domain sockets)   * Looks like it could be useful in cases where you might otherwise use a plain socket; also works for in-process (cross-thread) communication and IPC (UNIX domain sockets)
   * [[http://​lucumr.pocoo.org/​2012/​6/​26/​disconnects-are-good-for-you/​]] - problems with getting stuck in a bad state after disconnects (this is also mentioned in the ZeroMQ guide introduction:​ "​Making a reliable request-reply flow is complex enough that I won't cover it until Chapter Four")   * [[http://​lucumr.pocoo.org/​2012/​6/​26/​disconnects-are-good-for-you/​]] - problems with getting stuck in a bad state after disconnects (this is also mentioned in the ZeroMQ guide introduction:​ "​Making a reliable request-reply flow is complex enough that I won't cover it until Chapter Four")
-  * [[http://​www.crossroads.io/​|Crossroads I/O]] is a fork, which is likely to incorporate more drastic changes than the ZeroMQ project (see e.g. http://​www.zeromq.org/​topics:​planning) +  * http://​nanomsg.org/​ is a rewrite in C by Martin Sústrik (original ZeroMQ author) 
-    * [[http://​www.250bpm.com/​blog|Martin Sústrik'​s ​blog "​250bpm"​]] (author of Crossroads I/O, original ZeroMQ author) +    * <del>[[http://​www.crossroads.io/​|Crossroads I/O]]</​del>​ was a fork by Martin Sústrik 
-    * Martin Sustrik is/was also working on a rewrite in C+    * [[http://​www.250bpm.com/​|Martin Sústrik'​s ​site]]
   * [[http://​www.aosabook.org/​en/​zeromq.html|Architecture overview]]   * [[http://​www.aosabook.org/​en/​zeromq.html|Architecture overview]]
   * [[https://​github.com/​zeromq/​pyzmq|PyZMQ:​ Python bindings for ØMQ]] (GitHub)   * [[https://​github.com/​zeromq/​pyzmq|PyZMQ:​ Python bindings for ØMQ]] (GitHub)
Line 24: Line 24:
   * Apparently Ansible uses [[http://​www.keyczar.org/​|Keyczar]] to help add security to its ZeroMQ-based "​Fireball"​ mode   * Apparently Ansible uses [[http://​www.keyczar.org/​|Keyczar]] to help add security to its ZeroMQ-based "​Fireball"​ mode
 ===== Integrating with Event Loops ===== ===== Integrating with Event Loops =====
-There is some trickiness because of the edge-triggering. Example integration with libev: http://​funcptr.net/​2013/​04/​20/​embedding-zeromq-in-the-libev-event-loop/​+There is some trickiness because of the edge-triggering. Example integration with libev: http://​funcptr.net/​2013/​04/​20/​embedding-zeromq-in-the-libev-event-loop/​. Another small example is at http://​stackoverflow.com/​a/​10861503.
  
-For integration with Qt, QSocketNotifier provides monitoring of file descriptors,​ and a QTimer with a timeout of 0 should act be the same as the idle callback mentioned in the article.+For integration with Qt, QSocketNotifier provides monitoring of file descriptors,​ and a QTimer with a timeout of 0 should act be the same as the idle callback mentioned in the article. There is a C++ implementation of this in [[https://​github.com/​jonnydee/​nzmqt]]. For Python it seems like it would be better to re-implement with PyQt.
  
 ====== From the Guide ====== ====== From the Guide ======
info/zeromq.txt · Last modified: 2014-08-20 16:49 by sam