Hi,

I wanted to know what is the preferred way to implement a failover strategy 
across servers using the ZeroMQ (specifically NetMQ) libraries on the client 
side.
I have a bunch of identical servers constantly streaming data and heartbeats to 
its connected clients (using the router dealer paradigm). What I want to happen 
is when a client stops receiving heartbeats from a server it automatically 
fails over to another available server.

What is the best way to approach this problem?

should I recreate the dealer / monitor sockets during a failover?
should I create them once (per server) and add / remove them dynamically from a 
poller (disconnecting them before remove)?
or one dealer socket listening to different endpoints?

Regards.

Sachin
________________________________
This communication is intended only for the addressee(s), may contain 
confidential, privileged or proprietary information, and may be protected by US 
and other laws. Your acceptance of this communication constitutes your 
agreement to keep confidential all the confidential information contained in 
this communication, as well as any information derived by you from the 
confidential information contained in this communication. We do not waive any 
confidentiality by misdelivery.

If you receive this communication in error, any use, dissemination, printing or 
copying is strictly prohibited; please destroy all electronic and paper copies 
and notify the sender immediately. Nothing in this email is intended to 
constitute (1) investment or trading advice or recommendations or any 
advertisement or (2) a solicitation of an investment in any jurisdiction in 
which such a solicitation would be unlawful.

Please note that PDT Partners, LLC, including its affiliates, reserves the 
right to intercept, archive, monitor and review all communications to and from 
its network.
_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to