leader

The one replica that accepts writes and decides their order, which followers then copy.

In more detail

Having one leader makes write ordering simple and explicit. Reads that must see the latest write, such as buying a ticket, go to the leader. After a failure a follower is promoted, and the old leader must be fenced first.

Related terms

Taught in

References