Concept 10
Consistency
Decide what readers can see while writes are still spreading.
5 lessons · 3 notes · 6 labs · 4 design problems · 9 vault drills · 1 incident · 4 free
You need these first
Each topic builds on the ones before it. Read one page from each, then come back.
- Replication · start with Database Replication
Locked
28 matching resources
Lesson
- CAP Theorem & Consistency ModelsLesson
Free 21 min read - Consistency ModelsLesson
Locked 14 min read - ACID & Isolation LevelsLesson
Locked 15 min read - Network Partitions & Split BrainLesson
Locked 17 min read - Distributed TransactionsLesson
Locked 20 min read
Note
- CAP and Consistency, HonestlyNote
Locked 16 min read - Transactional OutboxNote
Locked 20 min read - Distributed Transactions and SagasNote
Locked 20 min read
Lab
- SQL Transaction Isolation Levels & Concurrency AnomaliesLab
Locked Laptop + Docker - PostgreSQL MVCC Dead Tuple Bloat & Long-Running Transaction FreezingLab
Locked Laptop + Docker - Distributed Caching: Two-Tier L1/L2 Cache Invalidation & ConsistencyLab
Locked Laptop + Docker - Kafka Dead Letter Queue & Poison Pill IsolationLab
Locked Laptop + Docker - Circuit Breaker & Thread Bulkhead IsolationLab
Locked Laptop + Docker - Tunable Consistency: Quorum Reads, Writes & Read Repair (Cassandra Style)Lab
Locked Laptop + Docker
Design problem
- Design an Instant Payments Network (UPI Style)Design problem
Locked 34 min read - Design a Stock Exchange Matching Engine (Price-Time, Replay, Fairness)Design problem
Locked 30 min read - Design Inventory Reservation for Quick Commerce (No Overselling)Design problem
Free 30 min read - Design a Collaborative Document Editor (Merge, Offline, Presence)Design problem
Locked 33 min read
Vault drill
- Why PostgreSQL Tables Bloat and How UUIDv7 Fixes Slow InsertsVault drill
Free 15 min read - How etcd Prevents Split-Brain During Leader ElectionVault drill
Locked 16 min read - How to Prevent Stale Reads on Replicas and Protect Primary DisksVault drill
Locked 16 min read - How Apache Iceberg Gives Data Lakes ACID Writes Without Table LocksVault drill
Locked 15 min read - How to Contain Outage Blast Radius Using Cell-Based ArchitectureVault drill
Locked 15 min read - Why SELECT FOR UPDATE on a Missing Row Freezes Inserts in MySQL InnoDBVault drill
Locked 14 min read - The Cache and Database Disagree on a Customer's Wallet BalanceVault drill
Locked 14 min read - What Can a Client Read While a Key-Value Store Moves a Shard?Vault drill
Locked 8 min read - How Do You Keep Alerts Working When One Tenant Creates Too Many Metrics?Vault drill
Locked 8 min read
Incident
- The Double-Booked BerthIncident
Free Browser, no install