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

Clustering Performance

This section explains how to tune the performance of the WSO2 MB in terms of deployment in a clustered environment.

Improvement areaParameterDescriptionLocationDefault/Recommended Value
Memory
-Xms256m -Xmx1024m -XX:MaxPermSize=256m
The memory allocated for the WSO2 MB.

For Windows: <MB_HOME>/bin/wso2server.bat file

For Linux: <MB_HOME>/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 an MB 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.

<MB_HOME>/repository/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.<MB_HOME>/repository/conf/broker.xml file5