Stop 20 · System DesignTopics · 6/15

CAP Theorem

Part of the Backend Developer Roadmap

In short

A theorem stating a distributed system can only guarantee two of three properties at once during a network failure: Consistency, Availability, and Partition tolerance.

How to learn this

  1. 1Explain CAP theorem in your own words with a concrete example.
  2. 2Classify a database you know, e.g. PostgreSQL or DynamoDB, by which two properties it prioritizes.
  3. 3Understand partition tolerance is essentially mandatory for any real distributed system — the real choice is C vs A.

More topics at this stop

Stuck on this topic? Ask an Insider

Get 1:1 guidance from people who've walked this exact path — on the InsideEdge app.

Download
InsideEdge