[rabbitmq-discuss] memory consumption during message delivery

Cermak, Marek Marek.Cermak at Honeywell.com
Thu Apr 4 14:17:41 BST 2013


Hi Tim,
the prefetch works perfectly. Thanks for help.
Marek

From: rabbitmq-discuss-bounces at lists.rabbitmq.com [mailto:rabbitmq-discuss-bounces at lists.rabbitmq.com] On Behalf Of Tim Watson
Sent: 03 April, 2013 14:57
To: Discussions about RabbitMQ
Subject: Re: [rabbitmq-discuss] memory consumption during message delivery

Marek,

On 3 Apr 2013, at 13:52, Cermak, Marek wrote:
I would reckon that 'slowing down' the transfer from disk to memory may be a way to go.

You could set a low (ish) prefetch count in your consumer so as to only bring 'n' messages off the disk at a time and then only ACK them (in batch mode or otherwise) when you're done with them, thereby slowing things down.

Cheers,
Tim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20130404/027d28b8/attachment.htm>


More information about the rabbitmq-discuss mailing list