[zeromq-dev] problems with load-balancing exchange

Martin Hurton hurtonm at gmail.com
Tue Jul 28 12:08:14 CEST 2009


Hi Pavel,

Could you please prepare a minimal test program so that I can
reproduce this on my own?

- Martin

On Tue, Jul 28, 2009 at 1:59 AM, Павел Гуща<pavimus at gmail.com> wrote:
> I have two application. producer has global load-balancing exchange.
> Consumer has many threads, each thread creates local queue and bind's it to
> global producer exchange.
> I have config file for zmq_server, it contains address for global exchange,
> so i can start consumer before producer. And i see following problem:
> 1) when i start consumer after producer, all works as expected, message from
> producer is received by one of consumer's threads.
> 2) but when i start producer after consumer, message from producer is
> received by all consumer's threads (exchange works as data distribution, not
> load-balancing).
> 3) Same problem i see in case "when i start consumer after producer" after
> restaring producer.

Sounds really strange. Can you

>
> All experiments made with 0MQ v1.0.0
>
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
>



More information about the zeromq-dev mailing list