[zeromq-dev] Need for Late join and End of source detection
Pieter Hintjens
ph at imatix.com
Tue Oct 2 00:10:44 CEST 2012
On Mon, Oct 1, 2012 at 11:44 PM, Rohan Bedarkar <r_bedarkar at yahoo.com> 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
More information about the zeromq-dev
mailing list