[rabbitmq-discuss] Consumer Callback

Matthias Radestock matthias at rabbitmq.com
Tue Aug 16 20:48:59 BST 2011

On 16/08/11 19:41, fangbot wrote:
> With 50,000 messages per batch and 100 bytes per message, I am seeing a
> throughput of about 6.3k messages/second, both with and without persistence.
> I expected to see a much lower throughput when messages are sent with
> MessageProperties.minimal_persistent, since they must each be written to the
> database. However, it appears that this is not the case. When do persistent
> messages get written to the database?

You are consuming in auto-ack mode. That means the queue can generally 
send messages to a consumer as soon as it receives them *and the 
promptly forget about them*. So as long as the consumers can keep up 
your messages never make it anywhere near the disk.


More information about the rabbitmq-discuss mailing list