[rabbitmq-discuss] Help required: How to keep the length of a message in bytes

Emile Joubert emile at rabbitmq.com
Tue Mar 27 14:25:30 BST 2012


Hi Saima,

On 27/03/12 14:14, Saima Asif wrote:
> I am working on my simulator that I want to build on specific features
> of RabbitMQ. I want to take the length of the message to estimate how
> much time an exchange would take to process it.

The length of a message is not a factor that will influence the routing
time - the number of bindings is a better indicator.

The body/payload of a message normally accounts for the bulk of the
total serialised length, so use that if you need an estimate of the length.



-Emile



More information about the rabbitmq-discuss mailing list