Grokking the System Design Interview, Volume II
Vote

0% completed

​

14. Checksum

Data moving through a distributed system can arrive corrupted, from a bad disk, a network fault, or a software bug. A checksum lets the client detect that corruption instead of silently receiving bad data.

Background

When data moves between components in a distributed system, it can arrive corrupted. A fault in a storage device, the network, or the software can each cause this.

So how does a distributed system guarantee data integrity, meaning the client gets an explicit error rather than corrupt data it cannot detect?

Definition

Calculate a checksum and store it alongside the data

.....

.....

.....

Like the course? Get enrolled and start learning!

Reading Progress

0%


Vote for new content