[zeromq-dev] pub sub - first messages do not arrive from publisher to subscriber even though publisher is launched after the subscriber

Omer Bacharach omer at toot-trading.com
Tue Sep 20 12:29:51 CEST 2011

Isn't there any way which is more elegant of doing so instead of using
Something like : waitForConnectionComplition() type of API?


On Mon, Sep 19, 2011 at 3:22 PM, Rick Olson <technoweenie at gmail.com> wrote:

> > However what actually happens is that even that the subscriber is already
> up
> > and running when the publisher is launched , not all of the messages are
> > received by the subscriber (a 100 messages will be picked up by the
> > subscriber if the publisher will send at least 500 message). It seems
> that
> > the first messages sent by the publisher do not arrive to the subscriber.
> > Any ideas?
> Try adding a sleep in the publisher between binding a port and sending
> the messages.  It looks like it's still connecting the subscriber
> while the first message is being published.
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Omer Bacharach
Director of Software Development
Toot Trading Ltd.
omer at toot-trading.com
Mobile +972-544-317959
Office +972-3-7449466
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20110920/5d7ac691/attachment.htm>

More information about the zeromq-dev mailing list