Data Load Balancing in Partitioned and Partitioned-Replica Topologies
Data distribution in partitioned and partitioned-replica cluster caches is based on hash code of cache keys. Data is almost evenly distributed among all server nodes.
Each node knows about the data load of every other node in the cluster. There can be scenarios when data load on any one node becomes high depending upon the pattern of cache keys inserted in the cache.
NCache provides the following load balancing options:
Auto Load Balancing Task
Configurable: Auto load balancing is a configurable feature which automatically balances data load on each and every server node.
Automatic: It continuously monitors data load on all servers of the cluster after configurable interval and detects uneven data load.
Threshold: It verifies load against a configurable threshold, if any of the cache node has imbalanced data, then coordinator generates new distribution maps to re-distribute the extra data from that node.
Turning Off: This feature can be turned off if the user does not want load balancing among cluster nodes.
Manual Load Balancing
Manual: Data load can be balanced any time by manual load balancing feature through NCache Manager.
No Threshold: There is no threshold. Data balancing can be started whenever required.