[rabbitmq-discuss] vhostpath
Emile Joubert
emile at rabbitmq.com
Mon Mar 21 12:09:01 GMT 2011
Hi Steven,
On 21/03/11 11:52, Steven Taylor wrote:
> Hi,
> if an exchange / queue is defined in a vhost (being a distinct
> namespace), are there other benefits such as:
> when a new queue is created, it wont cause a reparse / graph node
> rebuild of *all* routing keys, only those in this particular
> vhost/namespace?
The broker automatically creates some associated default exchanges when
you add a vhost, so adding a vhost is a very cheap operation. None of
the actions you mention occur at the time of vhost creation.
> i.e. RabbitMQ (can't remember exact Rabbit
> terminology) use a topology/graph based search algorithm to make topic
> exchanges message destination resolution more efficient.
> Is this statement True or False?
Rabbit uses a trie implementation for efficient topic routing. The
relevant blog post has further details:
http://www.rabbitmq.com/blog/2010/09/14/very-fast-and-scalable-topic-routing-part-1/
Regards
Emile
More information about the rabbitmq-discuss
mailing list