System Design
Start with: What Is System Design
Intermediate · Unit 1: Building blocks
0 of 38 lessons0%
This course
0 of 38 lessons- Units
- 5
- Lessons
- 38
- Hours
- 13
Units
5 units01Building blocks
12 lessons- What Is System DesignLearn what system design means, the requirements that drive it, and the framework interviewers expect you to follow.Start here
- Back-of-the-Envelope EstimationTurn users into QPS, storage, and bandwidth numbers in minutes, and know the latency of memory, disk, and network.
- DNS, CDNs, and Client CachingTrace a request from domain name to edge server, and use TTLs and cache headers so most requests never reach you.
- Load BalancersSpread traffic across many servers, pick the right algorithm and layer, drain and health-check safely, and keep servers stateless.
- CachingChoose where to cache, pick a read and write pattern, handle eviction and invalidation, and avoid cache stampedes.
- DatabasesChoose between SQL and the NoSQL families, explain ACID and isolation, and know what indexes cost and buy you.
- Replication and ShardingCopy data for availability and read scale, split it across machines for write scale, avoid hot shards, and reshard without downtime.
- Consistency and CAPExplain CAP and PACELC honestly, pick a consistency model, do quorum math, resolve conflicts, and make retries safe with idempotency.
- Message QueuesMove slow work off the request path with queues, pub/sub, and logs, and handle leases, retries, dead letters, ordering, and backlogs.
- API DesignDesign clean REST APIs, know when GraphQL, gRPC, WebSockets, SSE, or webhooks fit better, and paginate correctly.
- Rate LimitingProtect APIs with fixed window, sliding window, token bucket, and leaky bucket limits, enforced at the gateway with Redis.
- Storage and BlobsPick block, file, or object storage, upload with presigned URLs, serve through a CDN, and tier data to cut costs.