[rabbitmq-discuss] Routing Topologies - Multiple Queues vs One Queue

Adam Venturella aventurella at gmail.com
Fri Dec 7 01:20:49 GMT 2012

My goal is to segregate tasks to different consumers. My messages are very 
simple, I just may have a lot of them.
Assuming a direct exchange (no topics), is it better to have N queues with 
1 routing key per queue:

Queue: foo
Routing Key: tasks

Queue: bar
Routing Key: tasks

Queue: baz
Routing Key: tasks


 Is it better to have 1 queue with N routing keys.

Queue: Tasks
Routing Key: foo
Routing Key: bar
Routing Key: baz

My assumption is multiple routing keys are better. 
Any advice?


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20121206/38d9ee51/attachment.htm>

More information about the rabbitmq-discuss mailing list