Logo
Grokking the System Design Interview
Ask Author
Back to course home

0% completed

Checksum (New)

Let's learn about checksum and its usage.

Background

In a distributed system, while moving data between components, it is possible that the data fetched from a node may arrive corrupted. This corruption can occur because of faults in a storage device, network, software, etc. How can a distributed system ensure data integrity, so that the client receives an error instead of corrupt data?

Solution

Calculate a checksum and store it with data.

To calculate a checksum, a cryptographic hash function like MD5, SHA-1, SHA-256, or SHA-512 is used

.....

.....

.....

Like the course? Get enrolled and start learning!