[zeromq-dev] Need for Late join and End of source detection

Rohan Bedarkar r_bedarkar at yahoo.com
Mon Oct 1 23:44:25 CEST 2012

HI Pieter,

Thanks for your reply!

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. 

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).

Some sample code will definitely be helpful.. I already look at tests/test_sub_forward.cpp 

Rohan Bedarkar
MS, Computer Science 

University of Chicago
rohanb at cs.uchicago.edu


 From: Pieter Hintjens <ph at imatix.com>
To: ZeroMQ development list <zeromq-dev at lists.zeromq.org> 
Sent: Monday, October 1, 2012 3:59 PM
Subject: Re: [zeromq-dev] Need for Late join and End of source detection
On Mon, Oct 1, 2012 at 9:13 PM, RohanB <rohanb at cs.uchicago.edu> wrote:
> Hi All,
> I'm trying to use ZeroMQ with OpenPGM. Coming from a proprietary messaging
> solution I've been spoiled with two very important features they provided - EOS
> (end of source) and Late Join Cache.

I think both these could be done by a pubsub device (separate process
or embedded) that uses XPUB to detect new subscriptions, and
heartbeats to signal publisher activity (and turns these into EOS).

Perhaps a useful example for the Guide. If you need this urgently,
contact me off list and I'll put you in touch with someone who can
build it for you in exchange for cookies.

zeromq-dev mailing list
zeromq-dev at lists.zeromq.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20121001/2d8f0a4d/attachment.htm>

More information about the zeromq-dev mailing list