[rabbitmq-discuss] Consumer Throttling

Nathan Woodhull nathan at mcommons.com
Tue Nov 25 01:11:05 GMT 2008

In our application we have a third party service that we are only
allowed to make requests to 10 times/per second. If we exceed the
10msgs/second throttle, we are charged a fine for breaking the
contractual agreement.

Our application generates requests in large spurts, so we would like
to use a queue to throttle the outgoing messages to the external
service to comply with the SLA. Is there a good way to do this through
RabbitMQ configuration? Doing this in the producer or consumer itself
does not seem like it is likely to work since they are both
distributed. Basically, we want to implement this pattern:



More information about the rabbitmq-discuss mailing list