States and Transitions
A
B
C
Starting State
States: { }
Transitions: { A, B, C }
Input,
Command,
Signal
Next State
?
State Machine
Log
"Trap
State"
Richer state machine:
x = 0
y = 0
z = 0
x <- 5
x = 5
z <- 10
z = 10
Consensus
Q: How can you keep state machines on multiple machines in sync?
x <- 1
y <- 2
z <- 3
y <- 5
Machine
Cluster
A: Make sure the logs of each machine match
http://nil.csail.mit.edu/6.824/2018/papers/raft-extended.pdf
By Nick Mosher