<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: Times New Roman; font-size: 12pt; color: #000000'>Hi, Yu-Teh:<div><br></div><div>The similarity you're speaking of doesn't run especially deep, and might even mislead you if you internalize it too thoroughly. </div><div><br></div><div>You can, as you say, have many virtual hosts within a RabbitMQ server, but this is independent of the fact that you can cluster multiple RabbitMQ servers into a cooperating whole. </div><div><br></div><div>Clustering involves the management of certain shared state across all of the Rabbit servers that participate in a cluster, but not all server state is shared (for example a given queue will exist only on one of the Rabbit servers in a cluster in the current implementation while the metadata used for maintaining users, exchanges, queues, bindings, and the like however is shared through Erlang's Mnesia database).</div><div><br></div><div>Best regards, </div><div>Jerry<br><br><hr id="zwchr"><div style="color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><b>From: </b>"Yu-Teh Shen" <shenyute@gmail.com><br><b>To: </b>rabbitmq-discuss@lists.rabbitmq.com<br><b>Sent: </b>Tuesday, August 2, 2011 5:52:16 PM<br><b>Subject: </b>[rabbitmq-discuss] what's the difference between virtual host and clustering<br><br>According to the AMQP 0.9.1, the virtual host is a data partition within the server and it comprises its own name space, a set of exchanges, queues ..etc.<div><br></div><div>I thought it just very similar to the clustering which combine many erlang node together.<div>
<br></div><div>Or can I say that they are under different layer of abstraction. Once you combine many rabbitmq erlang node together, it is called cluster.</div><div><br></div><div>And if you want to isolate no matter a single node or cluster into different partition, it is called virtual host.</div>
<div><br></div><div>Is my understanding right?</div><div><br></div><div>Thanks<br><div><br></div><div>Shen, Yu-Teh<br>
</div></div></div>
<br>_______________________________________________<br>rabbitmq-discuss mailing list<br>rabbitmq-discuss@lists.rabbitmq.com<br>https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss<br></div><br></div></div></body></html>