Raft election
Difficulty 3 of 5
A follower has reached its election timeout. Put these Raft election steps in order. Assume its log is current and a majority of peers can communicate.
Put these steps in order
- Send leader heartbeats to the followers
- Become the leader for this term
- Receive votes from a majority in this term
- Request votes from the other nodes
- Increase the term, become a candidate, and vote for self
Goals and limits
- p99 latency
- under 200 ms
- Monthly cost
- under 10 USD/mo
- Traffic
- 100 req/s
Concepts
How players did
Player results load from the server.