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/.

Tuning the Performance of a Clustered Deployment

This section describes how to tune the performance of the Message Broker profile in terms of deployment in a clustered environment.

Improvement areaParameterDescriptionLocationDefault/Recommended Value
Memory
-Xms256m -Xmx1024m -XX:MaxPermSize=256m

The memory allocated for the broker.

 

 

 

For Windows: <EI_HOME>/wso2/broker/bin/wso2server.bat file

For Linux: <EI_HOME>/wso2/broker/bin/wso2server.sh file

Generally, at least 2 GB memory is recommended for production instances.
Cluster healthhazelcast.max.no.heartbeat.seconds

The maximum time period that should elapse between pings received from a worker node in a broker cluster before acknowledging that worker node to be dead. This value is specified in seconds.

This parameter prevents the allocation of resources to inactive worker nodes, thereby avoiding unnecessary system overheads.

A short time duration can be specified in environments with a very high message flow and it is important to reallocate resources from inactive nodes to active nodes fast. A longer time duration can be specified in environments with lower message flows.

<EI_HOME>/wso2/broker/conf/hazlecast.properties file600
Cluster RecoveryconcurrentStorageQueueReadsThe number of storage queue reads carried out concurrently at a given time. This number should be set based on the number of storage queues that currently exist.<EI_HOME>/wso2/broker/conf/broker.xml file5