[zeromq-dev] partial multipart message?
Martin Sustrik
sustrik at 250bpm.com
Wed Apr 13 22:09:24 CEST 2011
Hi Colin,
> 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).
Yes. It should be.
> I assume it should. If it is, where is the most plausible
> origin of the problem? a 0mq bug, a library bug?
Looks like a 0mq bug. Are you able to reproduce it?
Martin
More information about the zeromq-dev
mailing list