[rabbitmq-discuss] Vhost concept

Alexandru Scvorţov alexandru at rabbitmq.com
Thu Jan 26 17:55:12 GMT 2012


> The only want to shuffle that data among VHs it to use the shovel or
> federation plugins,

That's not entirely true.  The shovel is just a thin wrapper around the
Erlang client.  You can use any of the clients to do what the shovel
does (but that requires a bit of coding).

Alex

On Thu, Jan 26, 2012 at 09:48:47AM -0800, Elias Levy wrote:
> On Thu, Jan 26, 2012 at 4:00 AM, <
> rabbitmq-discuss-request at lists.rabbitmq.com> wrote:
> 
> > My question is, what are the vhosts for, are they required ? If not
> > then what are the advantages of using them ?
> >
> 
> Virtual hosts give you namespace separation.  All users, exchanges, queues
> and bindings in each virtual host are unreachable from all other virtual
> hosts.  This is a good feature to use if you want ensure
> compartmentalization.
> 
> Alas, if you are like us, you'd like to compartmentalize customer data
> using virtual hosts, but you'd also like to shuffle some data among those
> virtual hosts (e.g. from a a primary VH to individual customer VHs), but
> this becomes impractical in a dynamic environment.
> 
> The only want to shuffle that data among VHs it to use the shovel or
> federation plugins, and both require that you restart the nodes hosting
> them to make any changes (e.g. add a customer and thus add a shovel to
> their own virtual host).
> 
> Elias

> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss



More information about the rabbitmq-discuss mailing list