Maximizing throughput with RabbitMQ
The following are the configuration options for optimal performance in relation to maximum message passing throughput:
- Keep your queues short
- Avoid the use of lazy queues
- Avoid persistent messages
- Create multiple queues and consumers
- Divide queues into different cores
- Disable acknowledgment
- Disable unnecessary plugins
Performance and scalability with RabbitMQ
There are many important points that we should consider for achieving optimal performance with RabbitMQ:
- Payload message size
- Exchange management
- Configure prefetch properly
- RabbitMQ HiPE
- Clustering of nodes
- Disable RabbitMQ statistics
- Update the RabbitMQ libraries