[zeromq-dev] Asynchronous streamed request/reply supported in 0MQ

Martin Sustrik sustrik at 250bpm.com
Tue Nov 24 11:38:37 CET 2009

Hi all,

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...
Name: streaming.png
Type: image/png
Size: 54897 bytes
Desc: not available
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20091124/2724e92f/attachment.png>

More information about the zeromq-dev mailing list