[zeromq-dev] multipart messages not atomic but mixed
Tobias Hintze
th-0mq-jeuw at thzn.de
Thu Apr 21 14:48:15 CEST 2011
hi,
under heavy load i see multipart message coming in intermixed.
this happens with a XREP/XREQ combination.
i reduced this to a testcase:
http://thzn.de/0mq-mp-mix/
there is a server.cc and a stress.cc - each part of a multipart
message is prefixed when sending. and the receiving side checks that
all parts of the received mp-message have the same prefix. which fails.
there is also a output.txt where you can see how message-parts come in.
every line is prefixed with the hex-representation of the identity
received on the XREP side (first part).
this happens on 2.1.4 and on 2.1 branch in git from yesterday.
th
--
Tobias Hintze
More information about the zeromq-dev
mailing list