How to calculate the number of zookeeper servers I need for a cluster?
问题 Is there a formula to calculate the number of zookeeper servers I need? Say a cluster may have 50, 500, or 5000 servers running, how do I convert those numbers into how many zookeeper server I want to start? To put it another way, what's a good estimate for the workload a zk server can handle? Is it based on the size of the storage, or QPS the quorum receives, or some other metrics? 回答1: The workload an ensemble (cluster) of ZooKeeper servers can handle, is primarily dependent on the number