On Mon, Feb 25, 2013 at 1:53 AM, Trevor Bernard
<trevor.bern...@gmail.com> wrote:

> I have a use case where I'd like to re-cycle DEALER identities when a
> failover situation occurs. I have one service SV1 that creates a
> DEALER connection to a ROUTER socket on SVn. SV1 has a hot standby and
> uses the same identity in a failover situation. The first connect goes
> as you would expect, but in the situation of a failover, the second
> SV1 never receives any messages from SVn.

I'd advise against trying to use identities to make this failover
work. You're going to be fighting 0MQ's autoreconnect. Instead,
provide authentication in the protocol itself and design the router
app to do the failover itself.

-Pieter
_______________________________________________
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to