[rabbitmq-discuss] Is there a channel publish throughput limit to a queue?
matthias at rabbitmq.com
Tue Oct 4 09:37:55 BST 2011
On 29/09/11 21:47, Allen Kim wrote:
> I checked the channel, and found out that the channel was still
> publishing to a queue.
Looks like the queues couldn't keep up with the inbound publishing rate,
so rabbit ended up buffering messages in the channel.
> The speed of publishing was around 700/s to 800/s, which is definitely
> not 2000/s.
...which is another indication of the above.
> I was wondering if there is limit that affects publishing speed.
Well, obviously rabbit cannot process messages at an infinite rate, so
clearly there has to be a limit ;)
However, 700Hz sounds quite low. On my desktop I can get more than 20
times that. But there are many factors which can reduce that rate:
- persistent messages
- large messages
- routing messages to lots of queues
- using transactions
- having lots of consumers with basic.qos prefetch
More information about the rabbitmq-discuss