[zeromq-dev] problems with load-balancing exchange

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


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20090728/7434ecff/attachment.htm>


More information about the zeromq-dev mailing list