[zeromq-dev] Devices and config files

Pieter Hintjens ph at imatix.com
Mon Aug 23 20:23:51 CEST 2010

On Mon, Aug 23, 2010 at 6:18 PM, gonzalo diethelm <gdiethelm at dcv.cl> wrote:

> I have a couple of comments about the documentation for ZDCF; there is
> no talk page, so I am posting them here:

You should be able to join the site and create a talk page.  Join
here: http://rfc.zeromq.org/main:registration.

> 1. You say "Conceptually, one ZDCF file maps to one process, consisting
> of a single context and zero or more device threads", but there is no
> reason why this has to be the case.

I'm not yet sure whether the syntax scales to N processes but it's
worth exploring.  Another option for device configuration is what Zed
Shaw did for Mongrel2, i.e. a sqlite database.  It sounds weird but
lets one easily modify the configuration on the fly (e.g.
enable/disable logging) etc.  Maybe for later...

> 2. Where you say "specifies zero or more addresses to connect the socket
> to", I would use "zero or more endpoints" to be consistent.

Indeed.  I keep thinking of 'address' in zmq_connect but it's an
endpoint of course.

> 3. What is the plan for binary values? These could apply for identity
> and subscribe.

Well, how would you want to edit and maintain these?

> 4. mcast_loop should be a boolean, not an integer.

Thanks for catching that.

Would you re-post your comments to the talk page so we don't lose them?  Thanks.

Pieter Hintjens
iMatix - www.imatix.com

More information about the zeromq-dev mailing list