A topic in the Open Knowledge Graph — a free, open map of 15,290 topics and the order to learn them in.

Network Partition Tolerance and Split-Brain

Graduate Depth 90 in the knowledge graph ☐ I know this ☆ Set as goal
1topic build on this
495prerequisites beneath it
See this on the map →
CAP TheoremFailure Models in Distributed Systems+1 more→→Timeout and Retry Strategies
fault-tolerance partitions split-brain

Core Idea

Network partition tolerance describes how a distributed system behaves when the network splits into isolated components that cannot communicate. A partition-tolerant system continues operating on both sides, but this can lead to split-brain: multiple components may make conflicting decisions. The CAP theorem states you cannot have consistency, availability, and partition tolerance together.

Explainer

You already know from the CAP theorem that a distributed system cannot simultaneously guarantee consistency, availability, and partition tolerance — and that network partitions are not optional failures you can engineer away, but inevitable realities of any system spanning multiple machines. Network partition tolerance is the property that a system continues to function even when the network fragments into groups of nodes that cannot reach each other. The question is not whether partitions happen, but what your system does when they do.

Imagine a database replicated across two data centers connected by a wide-area link. If that link goes down, each data center can still receive client requests — but neither can coordinate with the other. This is a partition. A partition-tolerant system keeps serving requests on both sides rather than shutting down entirely. But this creates an immediate tension: if both sides accept writes independently, they may make conflicting decisions about the same data. User A updates their profile on side 1, while user B updates the same profile on side 2. When the network heals, the system has two divergent versions with no obvious winner. This is the split-brain problem.

Systems handle split-brain through the tradeoff the CAP theorem forces. A CP system (consistency over availability) stops serving requests on the minority side of the partition — it refuses to answer rather than risk inconsistency. ZooKeeper works this way: if a node cannot reach a quorum, it rejects operations. An AP system (availability over consistency) keeps serving on both sides and reconciles conflicts after the partition heals, using techniques like last-writer-wins timestamps or conflict-free replicated data types (CRDTs). Dynamo-style databases take this approach.

The practical challenge is that most real systems need different tradeoffs for different operations. A shopping cart can tolerate temporary inconsistency (merge conflicts later), but a bank balance transfer cannot. This leads to hybrid designs where some paths through the system are CP and others are AP. Understanding partition tolerance means recognizing that the design choice is not a global setting but a per-operation decision about what kind of incorrectness your application can tolerate during the minutes or hours when the network is split.

Practice Questions 5 questions

Prerequisite Chain

Understanding Zero → The Number Zero → Counting to Five → Counting to 10 → Counting to 20 → Counting a Set of Objects Up to 20 → Cardinality: The Last Number Counted → Matching Numerals to Quantities → Subitizing Small Quantities → Addition Within 10 → Number Bonds to 10 → Addition Within 20 → Doubles and Near Doubles → Doubles Facts Within 10 → Near Doubles Facts Within 20 → Mental Math Strategies for Addition → Mental Math: Adding and Subtracting Tens → Addition Within 100 → Repeated Addition as Multiplication → Multiplication as Equal Groups → Multiplication: Arrays → Basic Multiplication Facts (0s, 1s, 2s, 5s, 10s) → Multiplication Facts Within 100 → Division as Equal Sharing → Division as Grouping (Measurement Division) → Division: Grouping (Repeated Subtraction) Model → Division: Fair Sharing Model → Division as Equal Sharing → Division as Grouping → Basic Division Facts → Division Facts Within 100 → Multiplication and Division Fact Families → Relationship Between Multiplication and Division → Division Facts as Inverse of Multiplication → Remainders and Quotients in Division → Division Word Problems → Multi-Step Word Problems → Solving Multi-Step Word Problems → Multiplication Word Problems → Division Word Problems → Introduction to Long Division → Factors and Multiples → Prime and Composite Numbers → Equivalent Fractions → Relating Fractions and Decimals → Decimal Place Value → Integers and the Number Line → Comparing and Ordering Integers → Absolute Value → Adding Integers → Subtracting Integers → Multiplying Integers → Introduction to Exponents → Order of Operations → Integer Order of Operations → Variable Expressions → The Distributive Property → Variables and Expressions Review → Introduction to Polynomials → Adding and Subtracting Polynomials → Multiplying Polynomials → Factorial → Permutations → Combinations → Counting Principles: Addition and Multiplication Rules → Introduction to Graph Theory → Propositional Logic Foundations → Logical Equivalences → Boolean Algebra → Boolean Type and Truth Values → Comparison Operators and Boolean Tests → Logical Operators and Boolean Algebra → Conditional Statements → Defining and Calling Functions → Functions: Decomposing Problems → Function Parameters and Argument Passing → Return Values → Variable Scope → Introduction to Classes → Objects and Instances → Methods and Attributes → Algorithm Design Basics → Tree Structure and Node Properties → Binary Trees → Binary Tree Properties: Height, Balance, Completeness → Amortized Analysis → Hash Tables → Hash Indexes → Key-Value Stores → CAP Theorem → Network Partition Tolerance and Split-Brain

Longest path: 91 steps · 495 total prerequisite topics

Prerequisites (3)

Leads To (1)