[zeromq-dev] PUB doesn't discard msg when no SUB
Ian Barber
ian.barber at gmail.com
Thu May 26 22:28:48 CEST 2011
On Thu, May 26, 2011 at 9:15 PM, Pieter Hintjens <ph at imatix.com> wrote:
> On the publisher side, dropping middle-aged messages may seem
> inconsistent but IMO for a pubsub model that is still much better than
> dropping newest messages. It's a given that the message flow is
> asynchronous and by definition we can't drop stuff that's already been
> sent to lower layers. That's no justification for dropping the newest
> messages, though.
>
> -Pieter
I guess the other option is around polling - can we have polling be
triggered based on connection? E.G. could we trigger on poll_out only when a
connection is available to send to. I'm not sure how that would be fit with
edge triggered if we connect right away and then poll.
Ian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20110526/125257b1/attachment.htm>
More information about the zeromq-dev
mailing list