Data Integrity
SRE Book Chapter 26 — reading what you wrote: checksums, soft deletes, backup validation, and why data loss is harder to recover from than downtime.
Overview
What you read is what you wrote
SRE Book Chapter 26 frames the whole topic: 'The goal of data integrity is to ensure that data is what you expect it to be — that what you read is what you wrote.'
That is distinct from availability (the data is accessible) and durability (the data is persisted). A system can be available and durable while silently corrupting what it stores.
> [!IMPORTANT] 'Data loss is almost always harder to recover from than an availability failure.' A 4-hour outage ends at hour 4; lost customer records may never come back.
Key concepts
- Data integrity
- Checksum
- Soft delete
- Backup validation
- Point-in-time recovery (PITR)
Interview questions
- How do you design a data integrity strategy for a service that cannot tolerate data loss?
Sign up free to read the full topic
More SRE topics
Start free on Cariara · Coding problems · System design studio