[rabbitmq-discuss] Maximize throughput with RabbitMQ

Simon MacMullen simon at rabbitmq.com
Thu Apr 5 18:02:54 BST 2012


On 05/04/12 15:05, chmin wu wrote:
> To get the maximum message passing throughput/performance( For example,
> 400,000 msg/second) , How many queues is best?  Does that more queue
> means better throughput/performance? And is there anything else should I
> notice?

Each queue can only use one core on your machine, so having multiple 
queues will definitely help.

Also, using more than one queue from the start will make it easier to 
scale horizontally.

> Any known best practices guide for using RabbitMQ in such scenario?

400,000 msg/s is quite a lot. Turn off all the features you can (acks, 
confirms, complicated routing, persistence) and parallelise as much as 
possible.

Cheers, Simon

-- 
Simon MacMullen
RabbitMQ, VMware


More information about the rabbitmq-discuss mailing list