[zeromq-dev] Asynchronous streamed request/reply supported in 0MQ
sustrik at 250bpm.com
Tue Nov 24 11:38:37 CET 2009
There have been several people asking for async request/reply in 0MQ/2.0.
The support for async stream req/rep was just added to the trunk. It
implements the "butterfly" scenario as described here:
The implementation defines two new socket types, ZMQ_DOWNSTREAM to send
messages further on and ZMQ_UPSTREAM to get messages to process.
Additionally, there's a zmq_streamer device - executable that collects
messages from multiple sources and load-balances them among multiple
destinations (use --with-streamer option to build it).
See attached diagram to get better understanding how "butterfly"
scenario can be implemented using new 0MQ socket types.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 54897 bytes
Desc: not available
More information about the zeromq-dev