~/talk

CAP Theorem - two decades and few clouds later

Talkat JCON-ONLINE 2021 · 2021-10-05..10-08· [distributed-systems, databases]
links:none on file
slides:none on file

CAP is not a triangle label but a set of per-operation trade-offs: S3 strong read-after-write (announced 2020) gives read-after-write semantics while bucket metadata remains eventual; Spanner TrueTime combines two‑phase commit, Paxos and bounded clock uncertainty to achieve linearizability and reports ~99.999% SLA; Cassandra tunable consistency and lightweight Paxos let users pick consistency vs latency; Kafka uses producer acks and unclean leader election so availability choices can lose messages. Configuration and SLAs, not static CP/CA/AP tags, decide behavior.

AI-written summary · about

  1. 0:00Intro
  2. 0:57Triangle makes CAP easy to remember
  3. 2:42CAP is proven
  4. 3:26What about the tools?
  5. 4:09Quick reCAP
  6. 6:07CAP is about the decision making
  7. 7:54Node failure is not a network partition!
  8. 9:31Linearizability (strict consistency)
  9. 9:48on a single copy of data (single node)
  10. 10:41Consistency is a spectrum of models and guarantees
  11. 10:51Performance & fault tolerance trade-offs
  12. 11:47What about ACID?
  13. 12:17ACID: Transactions CAP: Operations
  14. 12:40ACID Consistency is about the invariants
  15. 13:45Cloud hash-table for blobs (key-value)
  16. 13:57Buckets & objects
  17. 17:17Google Spanner
  18. 18:30If you're rich, the rules apply a little less to you...
  19. 19:052PC + 2PL + Paxos
  20. 23:00Differential availability
  21. 25:42Availability issues easy to recover from
  22. 26:11Unpredictable consistency is the worst nightmare
  23. 27:24Defer conflict resolution to the reads (last write wins)
  24. 28:02Tunable consistency
  25. 30:11Lightweight transactions (Paxos)
  26. 31:37Distributed append-only data log (and beyond!)
  27. 32:08Kafka was build for scalability
  28. 33:07Consistency recipe: leader & follower(s)
  29. 34:29Consumers polling for data
  30. 37:49Consistency does not guarantee durability!
  31. 38:04Improving availability
  32. 38:31Unclean leader election
  33. 39:14KIP-392: Follower fetching
  34. 40:30Config & params define CAP trade-offs
  35. 40:57Summary
  36. 41:17Consistency and availability are spectrums
  37. 41:54High availability is not enough for A
  38. 42:07Eventual consistency is a spectrum too
  39. 42:23Partition handling strategy matters
  40. 42:42SaaS: SLA beats CAP
  41. 43:05Availability trade-offs are the easiest
  42. 43:39CAP missing parts: durability, latency, ...
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.