[rabbitmq-discuss] Bound Queues
vivek at khera.org
Tue May 18 19:49:21 BST 2010
On Tue, May 18, 2010 at 7:09 AM, Matthias Radestock
<matthias at rabbitmq.com> wrote:
> Vick Khera wrote:
>> What if my producers used the "mandatory" flag to detect if the queue
>> is full, and then just pause for a while if it is?
> I think you mean the "immediate" flag. Yes, that would sort of work but if
> all producers do the same, all the time, then rabbit would never queue any
> messages at all. I'm guessing that is probably not what you want.
I would hope that my consumer would eventually clear up the queue
enough that the producers can start up again. I'd have the producers
sleep some random amount of time to eliminate the thundering herd.
>> If I use a large-RAM box for my queue server, will rabbitmq use more
>> of it?
> Yes. As long as you are on a 64-bit Unix with a recent version of Erlang.
Thanks for the info.
More information about the rabbitmq-discuss