Escolar Documentos
Profissional Documentos
Cultura Documentos
Atomic Broadcast
Reliable broadcast that guarantees: All messages delivered in the same order
Consensus?
Consensus problem
All nodes propose a value All correct nodes must agree on one of the values Must eventually reach a decision (availability)
Consensus impossible
No deterministic 1-crash-robust consensus algorithm exists for the asynchronous model 1-crash-robust
Up to one node may crash
Asynchronous model
No global clock No bounded message delay
Perfect FD Consensus
Solving Consensus
Consensus Perfect FD?
No. Dont know if a node actually failed or not!
Enter Omega
Leader Election
Eventually every correct node trusts some correct node Eventually no two correct nodes trust different correct nodes
Problem with
10
Paxos Siblings
Cheap Paxos (LM04)
Fewer messages Directly contact a quorum (e.g. 3 nodes out of 5) If fail to get response from 3, expand to 5
Paxos Siblings
Gaios/SMARTER (Bolosky11)
Make logging to disk efficient for crash-recovery Uses pipelining and batching
Atomic Commit
Atomic Commit
Commit IFF no failures and everyone votes commit Else Abort
Reconfigurable Paxos
Change the set of nodes
Replace failed nodes Add/remove new nodes (change size of quorum)
Lamports idea
Part of the state of state-machine: set of nodes
SMART (Eurosys06)
Many problems (e.g. {A,B,C}->{A,B,D} and A fails) Basic idea, run multiple Paxos instances side by side