[rabbitmq-discuss] Scheduling algorithms

Martin Sustrik sustrik at imatix.com
Sat Dec 26 11:56:05 GMT 2009


Matthew Sackman wrote:

> If, in the queue, you have A's 100 messages at the start, then B's 100
> messages, then C's 1000 messages at the end, then that's the order
> they'll come out in. You can't alter that.

Right. The common practice in MQ systems is that messages are placed on 
a queue immediately at their arrival. The queue is a linear list of 
messages, thus the strict message ordering is established at that point. 
The messages are sent further in the same order. While AMQP 
specification doesn't explicitly impose this algorithm, the 
implementations are implicitly assumed to behave this way.

Martin




More information about the rabbitmq-discuss mailing list