Course contentsShow
← System Design
Lesson 505 of 1,91914. CAP TheoremFree lesson

The Partition Question: When, Not If

Real systems must decide behavior *during* partitions, not sacrifice a property permanently; partitions are temporary failures.

The Partition Question: When, Not If

What you'll learn: How to think about network partitions as temporary failures that require a response, rather than permanent property sacrifices.


The Core Misunderstanding

When newcomers hear about CAP Theorem, they often think: "I must choose two properties and abandon the third forever." But that's not how real systems work. The critical insight is that partitions are temporary events, not permanent states.

During normal operation, when your network is healthy, you can have both consistency and availability. The CAP question only matters during a partition — and partitions are temporary failures that eventually heal.

Choosing Your Partition Response

The real decision isn't "Do I want consistency or availability?" It's "When a partition happens (and it will), how should my system behave during those minutes or hours?"

Think of it like a storm knocking out phone lines between two cities. You must decide:

  • CP response: Stop taking orders until communications restore (preserve consistency)
  • AP response: Keep taking orders in both cities, reconcile conflicts later (preserve availability)

After the storm passes, the partition heals and normal service resumes. You didn't permanently give up a property — you chose temporary behavior during the failure.

The "When, Not If" Mindset

Networks fail. Switches crash. Cables get cut. Routers misconfigure. Asking "Will partitions happen?" is naïve — they will. The engineering question is: "When they happen, what degraded mode should we enter?"

This reframes CAP from a permanent sacrifice to a partition handling strategy.

Key Takeaway: CAP isn't about permanently choosing two properties; it's about deciding how your system behaves during temporary partition events — because partitions are inevitable failures, not permanent conditions.