[zeromq-dev] Behavior of Labels, Identities, and Socket Types in 3.0

Martin Sustrik sustrik at 250bpm.com
Thu Oct 27 14:35:08 CEST 2011


On 10/27/2011 03:26 AM, Gregory Szorc wrote:

> I immediately noticed an inconsistency between the results and the docs.

...

> Anyway, I fixed my application by changing all the DEALER and ROUTER
> sockets (back to) XREQ and XREP. Like I said in my initial post, I
> prefer 3.0's explicit label model rather than the empty message
> convention of 2.x. Still, I'd like some (official) feedback on expected
> behavior and best practices for 3.0.

The official -- mine :) -- standpoint:

The irregularity wrt. labels was introduced by mixing staging and 
experimental work in a single repository (libzmq). The process should be 
fixed to prevent that happening again. I'll come back to that in a 
separate email.

As for the labels themselves, I would propose reverting the whole thing 
and getting back to 2.1 model.

However, it is a backward incompatible change. Those that have already 
fixed their programs to fit with 3.0 model would have to revert their 
changes as well.

So, please, if you are using labels and you mind about reverting back to 
2.1-style protocol, shout now!

Martin



More information about the zeromq-dev mailing list