[prev in list] [next in list] [prev in thread] [next in thread] 

List:       zeromq-dev
Subject:    Re: [zeromq-dev] load-balancing exchange and message dups
From:       Martin Sustrik <sustrik () fastmq ! com>
Date:       2009-07-28 15:32:38
Message-ID: 4A6F1A16.5020304 () fastmq ! com
[Download RAW message or body]

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
_______________________________________________
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic