Weak Consistency
Dan Ports, CSEP 552
Weak Consistency Dan Ports, CSEP 552 CAP Theorem Cant have all - - PowerPoint PPT Presentation
Weak Consistency Dan Ports, CSEP 552 CAP Theorem Cant have all three of consistency, availability, and tolerance to partitions (but the devil is in the details!) CAP Eric Brewer, 2000: conjecture on reliable
Dan Ports, CSEP 552
systems
(for certain values of “consistency” and “availability”)
consistency, availability, partition tolerance
consistency
suffer
system
environment
do we give up on consistency or availability?
What about weak consistency levels?
Does that mean the system is always down?
What happens the rest of the time?
subject to communication failures
service
process
and they can’t communicate
linearizability says it needs to return A’s value
network, can’t have both consistency and availability
asynchronous, can’t reliably solve consensus
FLP: failed nodes don’t need to come to consensus
Are they consistent? Available?
and fault tolerance?
can communicate
would require any node to be able to participate even when partitioned!
when confronted with network partitions" because they’re so rare
consistency and availability?
a partition
Why?
across replicas
replica round trip to finish
in background
when a majority of nodes can communicate
a system with
(just take healthy ones)
consistency
that causally preceed X
message — ensures they’re applied in order
Speculative Paxos and NOPaxos (Adriana Szekeres)
Untrusted Sources (Haichen Shen)
Verifying Distributed Systems (James Wilcox and Doug Woos)
Sources of Tail Latency (Naveen Kr. Sharma)