System Design · Workspace
Case studies
How real teams built their systems, and what broke along the way, each tied to the module that teaches its ideas. 6 case studies.
Case: how Discord scaled message storageGrowing storage can expose problems that adding nodes does not fix. This case connects data modeling, request control and migration safety.Covers: CassandraScyllaDBRust+1 more: Consistent hashingNoSQL databases and when to use them
Case: lessons from Amazon’s Dynamo paperReplication moves failures around rather than removing them. Dynamo shows how a product requirement changes the storage contract, application logic and recovery work together.Covers: Quorum reads and writesVector clocksSloppy quorum+2 more: Hinted handoff, Merkle treesDistributed systems: replication and consistency
Case: Stripe’s approach to safe payment retriesA payment timeout can leave your database and your provider disagreeing. Safe recovery needs a stable operation identity and a way to establish what actually happened.Covers: Idempotency keysStripe APIRetries+1 more: ReconciliationReliability, overload and traffic spikes
Case: GitLab’s 2017 database outageA standby and scheduled backups can create confidence without proving recovery works. This case shows how to inspect the whole recovery path before an incident forces you to depend on it.Covers: PostgreSQLReplicationBackups+1 more: SnapshotsObservability, incidents and safe deployments
Case: a major cloud region outageYour application can lose availability without losing a server or database. This case shows how shared dependencies affect requests, recovery tools and customer communication.Covers: Amazon S3Shared dependenciesFailoverMulti-region systems and disaster recovery
Case: how Instagram scaled with a tiny teamA growing service can run out of database capacity before its team can safely operate a more complex replacement. This case shows how to reason about that constraint without treating an early architecture as a permanent blueprint.Covers: PostgreSQLLogical shardsDjangoEnd-to-end design problems