[zeromq-dev] Messaging patterns background

Martin Sustrik sustrik at 250bpm.com
Wed Apr 6 07:27:50 CEST 2011


Hi Gregg,

> Great post Martin. Very helpful, at least from a newcomers
> perspective. It should definitely go in a doc somewhere.

Ok. I'll have a look into this.

> This
> sentence, in particular, is a very nice summary for how to think about
> socket types; though the X- names are being deprecated, aren't they?

That was the issue debated recently. The point, I think, was that when 
people are using XREP routing outside of context of request/reply 
pattern (ie. when not delivering replies back to original requesters), 
XREP name doesn't obviously make much sense.

XREP is definitely not going away as it will always be needed as a 
hop-by-hop layer for request/reply.

However, the real question IMO is what else it is being used for today 
and how to formalise that. My understanding is that it's being used for 
routing messages to stateful services. Thus we have to look into 
semantics of stateful services and find out whether there's a way to 
formalise those interactions in some way. Then we can just create new 
vertical segment of the stack (messaging pattern) with new socket types.

Martin



More information about the zeromq-dev mailing list