[rabbitmq-discuss] Many fanout exchanges or fewer direct exchanges with routing keys
Злой Гремлин
angry.gremlin at gmail.com
Fri May 31 17:19:04 BST 2013
Hi,
I've been trying to use RabbitMQ and faced the following question.
I need to intensively broadcast 10 types of messages (so there will be many
consumers for each message type) and each type has ~100 subtypes.
I wonder which of the following approaches is better:
1.
Create a direct exchange for each message type and send messages with a
routing key (subtype name) and consumers will be connected with a
temporary queue. (Because there is no complex routing keys like
'key1.key2.*' I decided not to use topic exchange).
2.
Create a fanout exchange for each message subtype (something around 1000
exchanges).
Best regards,
Oleg
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20130531/f2d491bd/attachment.htm>
More information about the rabbitmq-discuss
mailing list