[rabbitmq-discuss] Exchange with throttling
emile at rabbitmq.com
Tue Jul 24 10:44:54 BST 2012
On 23/07/12 18:20, Félix wrote:
> Is there anything similar in rabbitmq?
Yes, the broker has a connection-based flow control mechanism - see
and a blog post that explains further:
Bear in mind that blocking an Erlang process will lead to a backlog in
its internal mailbox without slowing down the network. Also, the
exchange is not a natural control point for bandwidth limiting, because
an exchange is not a process. A channel would be a more natural choice.
You may be able to adapt the existing flow control mechanism to grant
credits based on bandwidth rather than message count.
More information about the rabbitmq-discuss