[zeromq-dev] [otish] "Why ZeroMQ"

Martin Lucina mato at kotelna.sk
Tue Jul 27 10:55:25 CEST 2010


sustrik at moloch.sk said:
> On 07/27/2010 03:30 AM, Matt Weinstein wrote:
> > I've been using ZMQ_STREAM_SOURCE and ZMQ_STREAM_SINK.
> >    
> Not bad actually.
> 
> Other socket names describe the role that user plays with respect to the 
> particular socket: I'm a PUBlisher. I'm a SUBscriber. I'm a REQuester 
> (don't confuse that with "sender of REQuests" -- REQuester both sends 
> requests and receives replies). I'm a REPlier.
> 
> "I'm a message SOURCE" and "I'm a message SINK" kind of fits in.
> 
> Alternative would be PRODUCER and CONSUMER but these are semantically 
> pretty overloaded.

+1 for ZMQ_SOURCE and ZMQ_SINK. If we were to add these then the question
is whether to treat both the old and new as equivalent or just pick one and
keep the other as a (undocumented) alias.

-mato



More information about the zeromq-dev mailing list