[zeromq-dev] Ordering message in ZeroMQ

Zzz Rrr climbforfreedom at gmail.com
Mon Mar 31 16:12:39 CEST 2014


Hello,

I would like to have more information about how incoming messages are
processed by ZeroMQ. Does ZeroMQ has a mechanism which manage message
priorities ?

1 - Firstly, I would like to know how incoming messages are processed by
ZeroMQ.


I would like to confirm whether ZeroMQ handles messages in the same order
as it receives or if ZeroMQ handles these messages in out of order way.


 Take an example, we have 3 processes A, B, and C. A sends messages A1, A2,
A3 (in this order), B sends B1, B2 (in this order) and C sends C1.

We know there are several possibilities concerning incomming messages
order. Consider that ZeroMQ receives messages in this order :
A1,A2,B1,A3,C1,B2.


In your opinion, what is the order that ZeroMQ handles messages ? Is
it A1,A2,B1,A3,C1,B2
?


2 - Then, I'm interested in message priority (if this kind of mechnism
exists in ZeroMQ).


If we take the previous example but with highest priority for C1 message,
what happens to the order in which ZeroMQ handles messages ? Is it now :
C1, A1, A2, B1, A3, B2 ?


Best regards,

ZRA
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20140331/3ce3a0d5/attachment.htm>


More information about the zeromq-dev mailing list