Raft

An agreement method that lets several copies of a database accept writes in the same order and keep working when a member fails.

In more detail

One member is elected leader and copies each write to the others; a write counts once a majority has stored it. If the leader fails, the rest elect a new one. Because a majority is required, two members tolerate no failures and three tolerate one.

Example

etcd, the Kubernetes datastore, replicates with Raft.

Related terms

Taught in

References

Certification courses