[rabbitmq-discuss] questions about distributed queue
Tony Garnock-Jones
tonyg at lshift.net
Thu Aug 20 11:37:04 BST 2009
Jim Irrer wrote:
> It seems like one of the problems with round robin is that consumers may
> spend
> more time on some messages than others, so you are depending on a random
> distribution to even out the load.
Setting basic.qos prefetch windows might help with this, by breaking out
of strict round-robin. A limit of one, for instance, means that the
server will make sure the limited consumer never has more than a single
outstanding message in its possession. Other messages will be dealt out
to other consumers while the limited consumer is busy.
Tony
--
[][][] Tony Garnock-Jones | Mob: +44 (0)7905 974 211
[][] LShift Ltd | Tel: +44 (0)20 7729 7060
[] [] http://www.lshift.net/ | Email: tonyg at lshift.net
More information about the rabbitmq-discuss
mailing list