2 comments

[ 3.2 ms ] story [ 17.8 ms ] thread
> Existing distributed KV stores mostly adopt the Raft consensus protocol, which takes two RTTs to complete a request.

Why 2? Isn’t a single AppendEntries request from the leader enough?

This sentence is explained on their homepage:

> it takes 2 RTTs to complete a consensus request from the view of a client. One RTT takes place between the client and the leader server, and the leader server takes another RTT to broadcast the message to the follower servers