[rabbitmq-discuss] consume messages from multiple queues based on wildcard?
Michael Klishin
mklishin at gopivotal.com
Wed Jul 17 21:56:25 BST 2013
David van Geest:
> We would like to scale our worker processes on the other end of the message queue(s) up and down as needed, without having the message producers know anything about it. Any ideas on how to achieve this goal?
You can use multiple queues and have multiple consumers for each one.
Every app instance can run multiple consumers. Choosing what queues to consume
from is probably application-specific. Techniques such as consistent hashing
can help ensure every app instance consumes from about the same # of queues.
--
MK
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 495 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20130718/1331d2b2/attachment.pgp>
More information about the rabbitmq-discuss
mailing list