CS
Apply the Concepts
Case Studies
Interview-depth system design — every decision justified, every tradeoff explained. Pick your level and start building.
Foundation ● ○ ○ ○ ○
First principles of scale. Unique ID schemes, sharding strategies, read-heavy caching, hot key mitigation, pre-generated key pools, tiered storage.
Snowflake IDUUIDConsistent HashingKGS
Open level →
Ascent ● ● ○ ○ ○
Async pipelines and multi-channel delivery. Kafka fan-out, per-channel workers, retry/DLQ, scheduled dispatch, content deduplication, async uploads.
Kafka Fan-outRetry / DLQCircuit BreakerTTL Sweeper
Open level →
Expedition ● ● ● ○ ○
Distributed rate control. Rate limiting algorithms from scratch, atomic Redis counters, distributed enforcement, rule management, DDoS layered defence.
Token BucketSliding WindowLua AtomicityDDoS Defence
Open level →
Summit ● ● ● ● ○
Storage engine internals. Leaderless replication, quorum reads/writes, LSM tree internals, compaction strategies, gossip membership, conflict resolution.
LSM TreesQuorum W/RGossip ProtocolVector Clocks
Open level →
Battleground ● ● ● ● ●
Real-time systems at scale. WebSocket connection management, per-conversation sequencing, offline queues, thundering herd, backpressure, hot partition salting.
WebSocketsThundering HerdBackpressureHot Partition
Open level →