[zeromq-dev] PUB doesn't discard msg when no SUB
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.
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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the zeromq-dev