RabbitMQ's Peak Throughput: Million Messages Per Second Achieved
RabbitMQ clusters have demonstrated extreme scalability, with a 2014 benchmark by Google and Pivotal achieving over one million messages per second (two million combined ingress/egress) using a 30-node RAM cluster on Google Compute Engine. Practical throughput varies, but configurations can sustain tens of thousands of messages per second with publisher confirms on smaller setups.
The top 3
- RabbitMQ's Million-Msg Record: Specifics Revealed: In a 2014 benchmark, RabbitMQ achieved over 1 million messages per second (2M combined ingress/egress) on Google Compute Engine, utilizing 186 queues and nearly 13,000 client connections across a cluster.
- RabbitMQ vs. Kafka: Throughput Showdown: Kafka typically achieves higher raw throughput, often handling millions of messages per second, while RabbitMQ generally offers lower latency at lower throughputs, with production benchmarks usually in the tens to low hundreds of thousands of messages per second when publisher confirms are enabled.
- Top 3 RabbitMQ Throughput Optimization Secrets: Key strategies for maximizing RabbitMQ throughput include using multiple queues and consumers (ideally one queue per CPU core), implementing batch publishing, and carefully tuning prefetch counts; avoiding persistent messages and transactions also significantly enhances performance.
Sources
Open the full topic