Consistency models and CAP

When the network partitions you choose consistency or availability. Most real systems pick a different answer per operation.

Lesson 2.36m 48sIntermediate10.9k students

Chapters

6:48
  1. 0:00Intro
  2. 0:31C, A, and P
  3. 0:48Consistency
  4. 1:51Availability
  5. 2:17Partition Tolerance
  6. 2:54C, A, and P Recap
  7. 3:13The CAP Theorem
  8. 3:40C & A
  9. 4:08One Must Choose Between C and A
  10. 4:42Why Must One Choose?
  11. 5:38Recap

What this lesson covers

  • Place a system on the consistency spectrum
  • Choose guarantees per operation, not per database
  • Explain the user-visible effect of eventual consistency

This lesson sits in Data at Scale, part of System Design Foundations. It assumes what came before it and leads directly into the next lesson in the module.

In this lesson you will

  • Place a system on the consistency spectrum
  • Choose guarantees per operation, not per database
  • Explain the user-visible effect of eventual consistency

Resources