On Mon, Oct 1, 2012 at 11:44 PM, Rohan Bedarkar <[email protected]> wrote:

> XPUB \ XSUB looks good for me. I can certainly use an XPUB to detect a new
> incoming subscription. Quick question though... Must XPUB\XSUB be used at
> intermediate layer? Can final endpoints be XPUB\XSUB? I don't want to add a
> proxy layer in the middle.

Sure, end points can use XPUB, though an inprocess proxy doesn't add
much overhead and can abstract it nicely IMO.

> Also not sure how the XSUB will detect if the XPUB on the other went down?
> (I am assuming here that XPUB \ XSUB can be used as endpoints).

You'd want to send heartbeats at the publisher side. Perhaps with a
thin API at both ends.

-Pieter
_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to