[rabbitmq-discuss] Stress testing RabbitMQ

Matthew Sackman matthew at rabbitmq.com
Sat May 14 12:57:38 BST 2011


On Sat, May 14, 2011 at 12:32:41PM +0100, Matthew Sackman wrote:
> I have not looked into your benchmark, however, what size msgs are you
> using? I suspect that if the binary fragments end up under 64 bytes then
> that is the cause of memory explosion: each msg is being _copied_ rather
> than reference counted to each queue. If you try with msgs with a bigger
> payload, I wonder whether you see the same behaviour.

Hmm, I've changed my mind on that. Even with 64-byte binaries being
copied to 8k queues, we're only talking 0.5MB, which is very unlikely to
be an issue unless the binary alloctor is horribly slow, which I'm
fairly sure it's not.

Matthew


More information about the rabbitmq-discuss mailing list