What is Maximum number of Queue bind to single exchange?

1,497 views
Skip to first unread message

Hitendrasinh Mahida

unread,
Oct 14, 2014, 5:46:57 AM10/14/14
to rabbitm...@googlegroups.com
Hi Users,

I am looking forward to bind more than 10k queue to single (Topic)exchange.

Will there be any performance issue (my server runs on best H/W config.) because of this ? What is max limit to bind number of queue to single exchange ?

Thanks for helps.


Regards.

H. Mahida

Michael Klishin

unread,
Oct 14, 2014, 5:51:26 AM10/14/14
to Hitendrasinh Mahida, rabbitm...@googlegroups.com
On 14 October 2014 at 13:47:04, Hitendrasinh Mahida (hitendras...@gmail.com) wrote:
> I am looking forward to bind more than 10k queue to single (Topic)exchange.
>
> Will there be any performance issue (my server runs on best H/W
> config.) because of this ?

The topic exchange uses a trie internally, so it should scale fairly well w.r.t.
the number of queues bound:

http://www.rabbitmq.com/blog/2010/09/14/very-fast-and-scalable-topic-routing-part-1/
http://www.rabbitmq.com/blog/2011/03/28/very-fast-and-scalable-topic-routing-part-2/

> What is max limit to bind number of queue
> to single exchange ?

There is no limit that RabbitMQ enforces but there is a natural limit to how many
queues you can have and the throughput of a single exchange in general.

As always, run some benchmarks in your own environment and see. Feel free to post
them on this list , too.
--
MK

Staff Software Engineer, Pivotal/RabbitMQ
Message has been deleted

Hitendrasinh Mahida

unread,
Oct 14, 2014, 6:18:52 AM10/14/14
to rabbitm...@googlegroups.com, hitendras...@gmail.com
Hi MK,

Thanks for your reply, I will do that test from my side. Also is there any known limit for number of exchange can be created on single node?

Michael Klishin

unread,
Oct 14, 2014, 6:19:54 AM10/14/14
to Hitendrasinh Mahida, rabbitm...@googlegroups.com
 On 14 October 2014 at 14:18:04, Hitendrasinh Mahida (hitendras...@gmail.com) wrote:
> Also is there any known limit for number of exchange can be created
> on single node?

Exchanges are just routing tables so they are much cheaper than queues.
I don't think we've ever seen anyone max out a single node on the # of exchanges.
Reply all
Reply to author
Forward
0 new messages