Replica Placement(副本放在位置)

There’s a trade-off between reliability and write bandwidth and read bandwidth here

  1. the first replica on the same node as the client (for clients running outside the cluster, a node is chosen at random, although the system tries not to pick nodes that are too full or too busy).
  2. The second replica is placed on a different rack from the first (off-rack), chosen at random.
  3. The third replica is placed on the same rack as the second, but on a different node chosen at random.
  4. Further replicas are placed on random nodes in the cluster, although the system tries to avoid placing too many replicas on the same rack

这里写图片描述

猜你喜欢

转载自blog.csdn.net/long798266215/article/details/53844076
今日推荐