[zeromq-dev] Load balancing REQ/REP is blocked when a server dies

Jaime Fernández jjjaime at gmail.com
Thu Oct 28 16:55:01 CEST 2010

I'm starting with zmq and I try to implement a system where a client
communicates with one of the available servers by balancing the load.

I've modified the client and server available at:
so that the client connects to two different servers:
socket.connect ("tcp://localhost:5555")
socket.connect ("tcp://localhost:5556")

However, when I kill one of the servers, the client blocks forever.

Is it a bug of the Python binding? Is there any mechanism or best practice
to avoid the effect?

Thanks in advance,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20101028/da3f896e/attachment.htm>

More information about the zeromq-dev mailing list