Phase 20 · System Design

Topics

CAP Theorem

Part of the Backend Developer Roadmap.

Summary

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

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

Stuck on this topic? Ask an Insider

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

Download
InsideEdge