[zeromq-dev] Designing for a subscriber that only bothers when data is presented

Ian Barber ian.barber at gmail.com
Thu Nov 22 12:40:04 CET 2012


On Thu, Nov 22, 2012 at 11:36 AM, Stefan de Konink <stefan at konink.de> wrote:

> Imagine a usecase having a persistent datastream form a pubsub but the
> subscriber can't be bothered to receive messages in quiet times, just
> because the data is not needed and is updated at such regular intervals
> that processing messages at a given time is fast enough, while doing a
> req/reply does give too much overhead at peak times.
>
> Is using a subscriber with a very low highwatermark a smart design here,
> or will it put a lot of presure on the publisher?


That should be ok - could the subscriber not just unsubscribe from the
topics it doesn't care about when it doesn't need the data though - that
would mean the pub could drop the messages (for unicast transports).

Ian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20121122/dcef4e71/attachment.htm>


More information about the zeromq-dev mailing list