In NCache, for partitioned or partitioned-replica topologies, an intelligent hash-based algorithm is used to automatically distribute data among nodes in a cache cluster. This Data distribution is mostly equal among servers which allows you to take full benefit of all cache servers in the cluster.
However, there can be some situations (rare) where you see one server with more items than others. One reason could be that similar pattern keys end up on the same node and this can cause an imbalance of data among cluster nodes. This may result in one of the nodes handling more data and requests which might lead to inefficient utilization of cluster nodes.
The Data Balancing feature of NCache explicitly distributes data symmetrically over the present nodes. This feature balances data based on the amount of cached data size that each node has consumed, not on the number of cache items. This results in a uniform spread of data across all nodes of the cache cluster.
There are two methods to balance data in your cache cluster, automatic and manual.
Follow the steps mentioned below to enable the Auto Data Balancing feature using the NCache Web Manager:
This will ensure that data between your cache clusters balances automatically upon hitting the defined Balancing Threshold.
Follow the steps mentioned below to manually balance data in your cache cluster using the NCache Web Manager:
This will ensure that data between your cache clusters balances out when you click Balance Data Load.
You can monitor your cache clusters using the NCache Web Monitor to determine if data between them is balanced or not.
+1 (214) 764-6933 (US)
+44 20 7993 8327 (UK)