[zeromq-dev] Devices, and pipeline again

Brian Granger ellisonbg at gmail.com
Thu Jul 29 18:21:32 CEST 2010


On Thu, Jul 29, 2010 at 9:15 AM, Martin Lucina <mato at kotelna.sk> wrote:

> ph at imatix.com said:
> > [snip part about devices]
> > As you can see I'm using ZMQ_PUSH and ZMQ_PULL in place of
> > ZMQ_DOWNSTREAM and ZMQ_UPSTREAM.  It seems to work.  A node pulls
> > data, works on it, and pushes it on.  So nodes are pullers, or
> > pushers, or both.  It's short, verbish (like the other socket types)
> > and feels clear.
>
> ZMQ_PUSH and ZMQ_PULL, nice! This clicks with being able to describe the
> sockets in terms of the topology: "A socket of type ZMQ_PUSH is used to
> push data to downstream pipeline nodes ..." etc.
>
> It looks like we have a new contender.
>
> To summarize, the major contenders in ye Great Pipeline Naming Debate are:
>
> 0) ZMQ_UPSTREAM / ZMQ_DOWNSTREAM (status quo)
> 1) ZMQ_PIN / ZMQ_POUT
>

+0


> 2) ZMQ_SOURCE / ZMQ_SINK
>

+1.000001


> 3) ZMQ_PULL / ZMQ_PUSH
>

+1


> 4) ZMQ_ICANHAZBITES / ZMQ_IWANTBITES :-)
>
>
+ :-)


> > If there are no outright objections after a day or so I'll start to
> > deprecate ZMQ_DOWNSTREAM/UPSTREAM and replace with ZMQ_PUSH/PULL.
> > We'll keep the old definitions around, of course, this does not break
> > the ABI.
>
> My only objection is the usual one; *we* (as in the community and core
> contributors) should reach consensus and *we* can then proceed with
> deprecating ZMQ_DOWNSTREAM/ZMQ_UPSTREAM and replacing those with
> ZMQ_XXX/ZMQ_YYY for the next release.
>
> Of course in the mean time you (or anyone else, as people are already
> doing) are free to #define the names privately to anything you like.
>
> -mato
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>



-- 
Brian E. Granger, Ph.D.
Assistant Professor of Physics
Cal Poly State University, San Luis Obispo
bgranger at calpoly.edu
ellisonbg at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20100729/d699db91/attachment.htm>


More information about the zeromq-dev mailing list