Content deleted Content added
→Log replication: Add "a" |
m →Timing and availability: Add "a" |
||
Line 59:
==== Timing and availability ====
Timing is critical in Raft to elect and maintain a steady leader over time, in order to have a perfect availability of the cluster. Stability is ensured by respecting the ''timing requirement'' of the algorithm :<blockquote>''broadcastTime << electionTimeout << MTBF''</blockquote>
* ''broadcastTime'' is the average time it takes a server to send a request to every server in the cluster and receive responses. It is relative to the infrastructure used.
* ''MTBF (Mean Time Between Failures)'' is the average time between failures for a server. It is also relative to the infrastructure.
* ''electionTimeout'' is the same as described in the Leader Election section. It is something the programmer must choose.
|