By default, WSO2 Message Broker is packaged with all three of the following components:
- Cassandra Server
- ZooKeeper Server
In a clustered setup, it is possible to have these three components separately and shared with each other. This separation introduces several possible deployment scenarios that can be customized according to your requirement. However, this deployment can be done with just WSO2 MB alone as illustrated in Clustering MB Using Profiles.
To enable the WSO2 Governance Registry to be used across all nodes, you must share the registry. For details, see Sharing the Governance Registry Across the MB Cluster.
Advantages of WSO2 Message Broker
Message Broker can be scaled up to meet high messaging demands. The advantages that can be gained by clustering the Message Broker are listed below.
- Scalability is useful as adding more Message Broker nodes to your cluster enables you to publish your messages or do subscriptions in a load balanced way.
- Cassandra can be scaled for high availability and high speed message writing and reading.
- Cassandra is very fast in reading and writing large messages natively, so this is ideal in a clustered environment.
Due to the above reasons, WSO2 Message Broker can deliver high performance results as opposed to many commercial and conventional Message Brokers that have very low performance when "size of a message" becomes too large. If you are unhappy with the performance, it can be scaled to meet your requirements.