[zeromq-dev] partial multipart message?

Colin Surprenant colin.surprenant at gmail.com
Wed Apr 13 21:55:38 CEST 2011


Hi,

I am using 0mq 2.1.3 with the FFI ruby bindings ffi-rzmq (0.7.2) with
JRuby 1.6.0.

When doing some stress testing using PUB/SUB sockets with multipart
(3) messages at different watermark levels and message rates I
encountered a situation, at high rate and low watermark, where not
only some messages were being dropped as expected, but some rare
messages did not have all the parts. Only the last part, the actual
message body, was in the message.

Per the documentation <<ØMQ sends and receives them atomically, i.e.
you get a whole message, or you don't get it at all.>>

I am trying to figure how this could have happened. Is this atomicity
semantic also respected when dropping messages? (high rate + low
watermark). I assume it should. If it is, where is the most plausible
origin of the problem? a 0mq bug, a library bug?

Thanks for your help,
Colin



More information about the zeromq-dev mailing list