Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
以下是用于基准测试“写入所有成员”的内容。
# write to all members benchmark --endpoints=${HOST_1},${HOST_2},${HOST_3} --conns=100 --clients=1000 put --key-size=8 --sequential-keys --total=100000 --val-size=256
我的理解是只有leader听写请求。那么如何写入 etcd 集群的所有成员呢?
辅助节点只是将它们收到的写入请求转发给领导者。