计算尺寸
计算尺寸
您可能会奇怪为什么在开始参数大小计算时要检查方法是否是静态的,如果是静态的,将堆栈帧槽初始化为零(不是静态正好相反)。
This is a simple calculation that assumes you know the cluster size and the number of servers you are willing to allow fail and still regard the cluster as "available" as a whole.这是一个简单的计算,假定您知道集群的大小和您允许集群作为一个整体仍然“可用”的情况下失效的服务器的数量。
Again, a table is provided to illustrate how the calculation changes as cluster size changes.此外,还提供了一个表来说明当集群的大小改变时计算方法的改变。