System Design
Scalability building blocks and how to design large systems in an interview.
0 of 7 complete
- 01A Framework for System DesignA repeatable way to attack open-ended design problems: requirements, back-of-envelope estimates, API, data model, high-level design, deep dives, and trade-offs.intermediate · 40 min
- 02Load Balancing and ScalingVertical versus horizontal scaling, why stateless services scale easily, and how round-robin, least-connections, and consistent hashing spread traffic.intermediate · 40 min
- 03Caching StrategiesCache-aside, write-through, and write-back patterns, TTLs, invalidation, and how to stop a cache stampede with request coalescing.intermediate · 40 min
- 04Databases at ScaleReplication for reads and availability, sharding for size, consistency and CAP in plain terms, choosing SQL or NoSQL, and a hash-based shard router with fixed slots.advanced · 45 min
- 05Message Queues and Pub/SubDecouple services with queues and pub/sub, understand at-least-once delivery, make consumers idempotent, and apply backpressure and dead-letter queues.intermediate · 40 min
- 06Design a URL ShortenerA full worked design: requirements, estimates, API, data model, base62 id encoding, redirect path, caching, scaling, and trade-offs such as 301 versus 302.intermediate · 45 min
- 07Design a Rate LimiterCompare fixed window, sliding window, and token bucket algorithms, implement two with an injected clock, and design where limits live in a distributed system.intermediate · 45 min