[rabbitmq-discuss] RabbitMQ configuration for Scaleout RPC setup

Emile Joubert emile at rabbitmq.com
Mon Aug 20 10:23:10 BST 2012


Hi,

On 19/08/12 22:31, dharshanr wrote:
> 1. A virtual host and user for every client. This way each client
> connects to its virtual host using its own username password. Also if
> one clients username/password gets compromised it wont affect the other
> clients.
> 2. One queue per virtual host called the "Client messaging queue". The
> client waits for messages on this queue after connecting to the virtual host
> 3. When the server wants to message a client it creates an unnamed queue
> in the virtual host of the client (as the reply queue) and then posts
> messages to the "Client messaging queue". The client processes the
> message and replies back on the tagged reply queue.

Your suggested solution will work, but it suffers from the weakness that
the server will need to maintain a separate connection to the broker for
each vhost. Using separate vhost provides good isolation, but you may be
able to get away with less by careful use of access control rules:

www.rabbitmq.com/access-control.html



More information about the rabbitmq-discuss mailing list