Closed moiri closed 4 years ago
An interesting paper bench-marking message queue libraries (including zeroMQ
and its fork nanomsg
).
After a whole lot of reading about zmq and playing with it a bit I created two box implementations:
smx_snk_zmq
a publishersmx_src_zmq
a subscriberEither of them can act as server or client and they communicate over tcp
.
udp
support was only added recently with the Radio-dish pattern but is still in draft state and not yet available in libzmq
distributed with ubuntu.
It is rather simple to work with zmq compared to manually handle sockets. For example it does not matter in which order publishers and subscribers come online (which is a big hassle with conventional sockets).
In order to allow a Streamix network to interface any application two boxes need to be created: