What is the CAP theorem?
spaceto flip
In a distributed system, you can only guarantee two of three: Consistency (all nodes see the same data), Availability (every request gets a response), Partition tolerance (system works despite network splits). Since network partitions always happen, you're really choosing between CP (consistent but may reject requests) and AP (available but may return stale data).