Throttling an AMQP Consumer Using RabbitMQ
Posted
by
Nicholas
on Stack Overflow
See other posts from Stack Overflow
or by Nicholas
Published on 2013-06-24T16:18:57Z
Indexed on
2013/06/24
16:21 UTC
Read the original article
Hit count: 857
I'm using AMQP in a reliability pattern and my use-case is to put messages in a queue, then consume them and insert the information into a web service. My web service is slow, and my queue can have many, many messages and I would like to ensure that the consumer doesn't kill my database.
Is there a build-in way to perform throttling in RabbitMQ, either time-based(only X messages per minute/second/hour) or some other mechanism?
© Stack Overflow or respective owner