[zeromq-dev] 0MQ multicast message lost?

ntupel at googlemail.com ntupel at googlemail.com
Thu Oct 7 11:53:29 CEST 2010


Hi all,

I am currently wrapping my head around 0MQ + PGM. In particular I try
to come up with an understanding of reliability guarantees. Given this
receiver (receiver.cc http://pastebin.com/PHbYCawK) and this sender
(sender.cc http://pastebin.com/gnrgZtD3) I try to publish messages
from sender to receiver (ZMQ_PUB/ZMQ_SUB) and the receiver sends back
the message received (ZMQ_PUSH/ZMQ_PULL). Only after the sender has
gotten back the message it will publish the next one. I am using two
separate machines within the same subnet. My problem is that often
sender and receiver get stuck which means that some message got lost.
I invoke these processes as follows:

On receiver side: $ ./receiver epgm://eth0\;231.192.0.1:9999
tcp://10.0.10.2:1234 255
On sender side: $ ./sender epgm://eth0\;231.192.0.1:9999
tcp://eth0:1234 255 10000

Then after some time where numbers scroll on both sides they get stuck
at some n < 9999.

Can somebody shed some light on this?

Thanks,
nt



More information about the zeromq-dev mailing list