[zeromq-dev] PUB/SUB overload: duplicate messages

Zoufal Andreas Andreas.Zoufal at ait.ac.at
Wed Jan 19 19:26:37 CET 2011


I'm testing the ZeroMQ library regarding robustness. I let send publishers messages out as fast as possible to force an overload on subscribers side. I would expect less received messages, but what I get is very surprising: I always get the right number of messages, but some (more or less) are duplicated. Is it a bug or can I do something to improve the robustness?

Source code: http://pastebin.com/mbTt7XZF
I can zip the demo app and mail it if required.

Kind regards,

More information about the zeromq-dev mailing list