[zeromq-dev] Exploring 0mq 3.0 - lack of monitoring

Pieter Hintjens ph at imatix.com
Sat Oct 29 00:50:04 CEST 2011


On Fri, Oct 28, 2011 at 10:07 PM, Ilja Golshtein <ilejncs at narod.ru> wrote:

> It is nice to see things we desperately need in 3.0 Changelog.

There is this page: http://www.zeromq.org/docs:3-0-upgrade but it
needs a refresh.

> Unfortunately I haven't find any way to monitor queue states.
> Is there any hope to have monitoring implemented?
> We are ready to contribute, so suggestions and implementation guidelines are appreciated.

This discussion was quite polarised. Users want monitoring, but devs
argue that monitoring is a Bad Thing.

Here is my best advice:

* do not use HWMs or monitoring to control flow
* use explicit credit-based flow control when it's needed: e.g.
http://unprotocols.org/blog:15
* elsewhere, use a HWM of 1000 or so (new default value)
* when you want explicit queue management, do this in user space by
pulling messages off 0MQ and storing them in your own queue structure

-Pieter



More information about the zeromq-dev mailing list