[zeromq-dev] non-destructive queue iterator?

Ian Barber ian.barber at gmail.com
Mon Aug 12 21:36:26 CEST 2013


+1 to Steve's suggestion. In general, using ZeroMQ as a queue is going to
run into issues, its generally better to treat them as a buffer, and build
a queue yourself - then you get your own choices of logic.

Ian


On Mon, Aug 12, 2013 at 1:36 AM, Steven McCoy <steven.mccoy at miru.hk> wrote:

> On 9 August 2013 13:43, Michael Haberler <mail17 at mah.priv.at> wrote:
>
>> it's unclear how I would replicate the following queue usage:
>>
>> A queue of pending commands is checked periodically for limit violations;
>> however, the queue entries are not consumed
>>
>
> You may be able to simulate functionality with a broker, when you need to
> evaluate the inbound pending messages, simply consume every message from
> the broker and republish.
>
> --
> Steve-o
>
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20130812/f41c8249/attachment.htm>


More information about the zeromq-dev mailing list