[zeromq-dev] Why 0mq doesn't define TTL for message (for in-mem queue)?

Pieter Hintjens ph at imatix.com
Sun Dec 29 20:40:13 CET 2013


On Sun, Dec 29, 2013 at 11:13 AM, artemv zmq <artemv.zmq at gmail.com> wrote:

> I can implement TTL myself, making it being as a part of message, _but_  I
> don't want to do that, because, TTL is low level thing, so fixing it at
> higher level would bring more problems, I suppose.

Do you know, or do you suppose? If you know, please explain what those
problems are. If you suppose, please try it and let us know whether
there are problems or not.

Let me explain this another way. A TTL is hugely application
dependent. Putting this into ZeroMQ would be dramatically bad for most
applications.

What you probably want to make, what most developers end up making, is
a framework that does the messaging you need (using ZeroMQ) and hides
this from your application. ZeroMQ is not that framework and it will
not ever be.

-Pieter



More information about the zeromq-dev mailing list