Hacker News new | ask | show | jobs
by nvartolomei 882 days ago
> 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?

1 comments

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