Grokking the System Design Interview, Volume II
0% completed
19. Read Repair
Replicas do not always agree. Read repair fixes a stale replica the moment someone reads it, instead of waiting for a separate process.
Background
In a distributed system, data is replicated across multiple nodes, so some nodes can end up with stale data. Say a node misses a write or update because it was down, or there was a network partition. How do we make sure that node gets the latest data once it is healthy again?
Definition
Repair stale data during the read itself. At read time, the system can read from multiple nodes, compare them, and find which ones are stale
.....
.....
.....
Like the course? Get enrolled and start learning!
Reading Progress
0%