Curriculum

System design

A system design round is a design review, not a vocabulary test. This track builds the method (requirements before boxes, arithmetic before opinions, one named bottleneck before any deep dive), then the mechanisms every real answer is assembled from, the handful of technologies you will actually name, the recurring patterns that turn up in most prompts, and ten designs worked end to end.

37 lessons 5 modules 868 min of reading 8 free on the web

Most candidates lose this round by drawing a correct diagram they cannot defend. The score comes from the trade-offs you name out loud, so that is what this track drills.

The method: framework, arithmetic, APIs, data, storage, caching

The things that decide the round before you get anywhere near a fan-out strategy. How the 45 minutes are scored and spent, how to size a system in your head without lying, how to write the API and the data model the rest of the design hangs from, how to pick a datastore and index it for a reason you can state, and how caching changes the numbers you just computed.

Mechanisms: networks, replication, queues, limits, and placement

The machines every distributed answer is assembled from, each derived rather than named. What a request crosses on the network and where a load balancer sits; how copies of data disagree and what a quorum actually buys; why a queue is a decision about what to drop; what a rate limiter costs per request; how to split data across machines by a key you will live with; and how to place a key so that adding a machine doesn't move every other key.

Key technologies: the tools you will actually name

Interviewers expect you to name real systems and know how they behave under load. This part covers the six that appear in most strong answers (Postgres, DynamoDB and Cassandra, Redis, Kafka, Elasticsearch, and object storage with a CDN in front), each through the same lens: the data model, the one number that sizes it, the failure that bites, and when to reach for something else.

Patterns: the problems hiding inside most prompts

A small set of problems turns up inside nearly every design prompt, whatever the product is called. Pushing updates to connected clients, moving slow work off the request path, keeping two buyers from taking the last seat, scaling reads, scaling writes, coordinating a process that spans several services, and finding what is nearby. Each one is a recognisable signal in the requirements and a short list of defensible answers.

Cases: ten designs, worked end to end

The mechanisms, tools and patterns assembled into full answers under interview conditions. Each design is built in the order an interviewer expects to hear it (requirements, numbers, entities and API, the high-level design, then the deep dives that decide the grade), with the numbers written down. A URL shortener, a news feed, typeahead, chat, ticket booking, ride-sharing, file sync, a video platform, a web crawler and a click aggregator.

Work through it with feedback

Reading the pattern is step one. The app runs you through it: editable code cells, the question bank, and a mock loop that grades your answer.

Log in to open the curriculum