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

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


2009/7/25 Павел Гуща <pavimus at gmail.com>

> 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.


May be this is important: i use one io thread for all queues in second
application.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20090725/28d6be17/attachment.htm>


More information about the zeromq-dev mailing list