[zeromq-dev] multipart messages not atomic but mixed

Pieter Hintjens ph at imatix.com
Fri Apr 22 09:15:00 CEST 2011


Hi Tobias,

Thanks for this error report. Can you please log an issue at the
github libzmq issue tracker as well, and link to your testcase.

-Pieter

On Thu, Apr 21, 2011 at 2:48 PM, Tobias Hintze <th-0mq-jeuw at thzn.de> wrote:
> 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
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
>



More information about the zeromq-dev mailing list