此内容没有您所选择的语言版本。
Appendix E. Performance Recommendations
E.1. Concurrent Startup for Large Clusters 复制链接链接已复制到粘贴板!
复制链接链接已复制到粘贴板!
When starting a large number of instances, each managing a large number of caches, in parallel this may take a while as rebalancing attempts to distribute the data evenly as each node joins the cluster. To limit the number of rebalancing attempts made during the initial startup of the cluster disable rebalancing temporarily by following the below steps:
- Start the first node in the cluster.
- Set JMX attribute
jboss.infinispan/CacheManager/"clustered"/LocalTopologyManager/rebalancingEnabled
tofalse
, as seen in Section C.13, “LocalTopologyManager”. - Start the remaining nodes in the cluster.
- Re-enable the JMX attribute
jboss.infinispan/CacheManager/"clustered"/LocalTopologyManager/rebalancingEnabled
by setting this value back totrue
, as seen in Section C.13, “LocalTopologyManager”.