[zeromq-dev] load-balancing exchange and message dups

Павел Гуща pavimus at gmail.com
Sat Jul 25 00:55:34 CEST 2009


I have two applications. First application creates global load-balancing
queue. Second application has four threads, each thread creates local queue
with name "Q" binded to global queue of first application. Global exchange
adress present in zmq_server config file, so i may start second application
before first.

When i start first application before second, message from first application
is received by one thread from second application.

When i start second application before first, message from first application
is received by all threads of second application (it is duplicated).

When i start first application before second, messages are not duplicated,
but after restart of first application they start to duplicate.

How i can avoid this behavior?

Thanks for help!


Best regards, Pavel.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20090725/d08b3017/attachment.htm>


More information about the zeromq-dev mailing list