[rabbitmq-discuss] RabbitMQ Consumes Very Slow

Matthias Radestock matthias at rabbitmq.com
Thu Jun 3 17:35:59 BST 2010


On 02/06/10 14:01, Matthew Sackman wrote:
> On Tue, Jun 01, 2010 at 04:58:32PM -0700, Bradford Stephens wrote:
>> Went from about 3 msgs/sec to ~20,000 msgs/sec.
> [...]
> Hmm, I wasn't aware basic.get was quite /that/ slow, but it's possible.

basic.get isn't inherently slow; it's the latency that's the killer. 
Fetching messages one-at-a-time with basic.get limits the throughput to 
1/2*roundtrip_latency. By contrast, the throughput achievable with 
basic.consume is only bounded by network bandwidth and the performance 
of the endpoints.


Matthias.


More information about the rabbitmq-discuss mailing list