DEV Community

Tanay Karmarkar
Tanay Karmarkar

Posted on

So…#WTH is State Machine Replication?

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

WTH is State Machine Replication? — Tanay Karmarkar

WTH is State Machine Replication? Deterministic replicas must apply identical commands in identical order.

portfolio.tanaykarmarkar.com

Top comments (0)