[rabbitmq-discuss] Many fanout exchanges or fewer direct exchanges with routing keys
simon at rabbitmq.com
Mon Jun 3 11:04:24 BST 2013
The canonical answer is to run your own tests :-) But if I had to guess
I'd say you might get marginally faster performance from many fanout
On 31/05/13 17:19, Злой Гремлин wrote:
> 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:
> 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).
> Create a fanout exchange for each message subtype (something around
> 1000 exchanges).
> Best regards,
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
More information about the rabbitmq-discuss