Revision Notes/System Design Concepts

Field Entry  -  System Design Concepts

 Coreintermediate

CAP Theorem

In a distributed system, you can only guarantee two out of three: Consistency, Availability, and Partition Tolerance.

#distributed systems#cap#consistency#availability#partition

Field Note - Real-world Analogy

Think of it like this

Imagine a Google Doc being edited by two people with an unstable internet connection. Consistency: the doc shows the same content to both users at all times — but if the internet drops, one user might be blocked from editing until connection restores. Availability: both users can keep editing even offline — but when they reconnect, there might be conflicts to resolve.

Field Observations - Key Topics Covered

01

Consistency (C) means every read gets the most recent write or an error. If you write a value on Node A, anyone reading from Node B immediately sees that new value. There is a single, consistent view of the data across all nodes at all times.

4 more observations inside

Sign in to read every key point in full

Unlock Full Note

Ready to go deeper?

Open the complete revision note.

Sign in to read every field observation in full, including a runnable code example and side-by-side comparisons with related patterns.

Read Full Notes