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

Martin Sustrik sustrik at fastmq.com
Tue Jul 28 17:32:38 CEST 2009


Pavel,

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

This seems to be a bug. We'll have a look at the problem shortly.

Martin



More information about the zeromq-dev mailing list