Every replicated database, Kafka partition, and Raft cluster relies on one rule: if deterministic replicas start identical and apply identical commands in an identical order, they stay identical.
Violate the order by one message, and you’ve built two different databases.
In my blog, I learnt and then broke down the mechanics of State Machine Replication (SMR). I cover:
-> The Deterministic Primitive
-> The Replicated Log
-> Exactly-Once Apply
Top comments (0)