This site contains the documentation that is relevant to older WSO2 product versions and offerings.
For the latest WSO2 documentation, visit https://wso2.com/documentation/.

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Current »

In a production environment, WSO2 Message Broker can be clustered and configured with an external Database Management System (DBMS) of your choice. 

Deployment architecture

The following is the common deployment model referred to in the configurations. This is the recommended deployment pattern for WSO2 Message Broker and depicts the minimum number of broker nodes necessary to achieve high availability and high efficiency in the cluster.

Figure 1Message Broker Nodes Configured With An External DBMS Cluster.

In this deployment model, assume that all these nodes are on different hosts. There are two WSO2 Message Broker nodes and any number of nodes that you prefer for the external DBMS (this can even be a single node).

ServerIP Address
MB Server 01192.168.0.102
MB Server 02192.168.0.103
DBMS 01192.168.0.104
DBMS 02192.168.0.105
DBMS 03192.168.0.106
DBMS 04192.168.0.107

Although this example specifies two WSO2 Message Broker nodes as a minimum requirement for optimal performance, you can have more Message Broker nodes depending on your requirement.

Follow the instructions below to configure the cluster.

Configuring WSO2 Message Broker

Use the instructions available in the following sections to configure the two Message Broker nodes and connect them to an external DBMS.

Advantages of WSO2 Message Broker

The advantage that can be gained when clustering the Message Broker is that you can have a very scalable product. This 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. The Message Broker can also be scaled up to meet high messaging demands and if you are unhappy with the performance, MB can be scaled to meet your requirements. 

Due to the above reason, WSO2 Message Broker can deliver high performance results as opposed to many commercial and conventional Message Brokers that have very low performance when the "size of a message" becomes too large.

  • No labels