[zeromq-dev] problems with load-balancing exchange

Павел Гуща pavimus at gmail.com
Tue Jul 28 02:01:01 CEST 2009


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

> 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.
>
> All experiments made with 0MQ v1.0.0
>

sorry, this message is duplicate of
http://lists.zeromq.org/pipermail/zeromq-dev/2009-July/001010.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20090728/cb4ec896/attachment.htm>


More information about the zeromq-dev mailing list