[zeromq-dev] Devices and config files

Pieter Hintjens ph at imatix.com
Mon Aug 23 17:58:22 CEST 2010


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

> I was afraid this would be your answer... I am aware it is not an easy
> question: should the basic C library provide everything needed by all
> the bindings (including the ability to read configuration files)?

This is up to binding authors IMO.  Basically it comes down to
deciding whether or not to wrap ZFL.  I'd guess that depends how
valuable that is.

> Let me clarify one thing, though: by "device" I am referring to "a
> bucket of sockets". As I mentioned before, one of my devices would have:
>
> * A REP socket for synchronous queries.
> * A PULL socket for pipelined processing.
> * A PUB socket for publishing management stats.
> * A SUB socket for receiving management commands.

Sure.  The ZDCF spec I threw together doesn't restrict you to any
number of sockets, it just defines a (pretty obvious) syntax for
configuring them.

-
Pieter Hintjens
iMatix - www.imatix.com



More information about the zeromq-dev mailing list