Part 9 of 9 · 3 min read
Exercises
Easy
Easy 1: Order the steps (10 minutes)
Put these actions in the right step: draw boxes, ask how many users, compare two options for the short code, name a bottleneck, write the scope, talk about failures, estimate requests per second.
Done when: seven actions placed in step 1, 2, 3 or 4, each with a one-word reason.
Hint
Questions and scope are step 1. Boxes and estimates are step 2. Options are step 3. Bottlenecks and failures are step 4.
Easy 2: A time plan (15 minutes)
Make a time plan for a 45-minute session, for a problem that is clear and small, and a second plan for a problem that is vague and large.
Done when: two plans, each adding to 45 minutes, with one sentence on why the plans differ.
Hint
Give the vague problem more time in step 1.
Easy 3: Good or bad habit? (15 minutes)
Mark each habit as helping or hurting: staying silent while thinking, offering two options, starting to draw in minute one, ending with the bottlenecks, defending a weak spot.
Done when: five answers with one reason each.
Hint
Ask "does this help the listener follow and help me?".
Medium
Medium 1: Draw the first design (30 minutes)
The problem: "a service where users upload short videos and friends watch them". Do step 1 in writing, then draw a first design of at most eight boxes with labelled arrows.
Done when: a written scope, three numbers, a drawing and one walk through in words.
Hint
Include a client, a load balancer, app servers, a store for video files, a store for details and a queue for processing.
Medium 2: Pick the deep dive (25 minutes)
For a chat app, a map app and a payment app, name the most critical part to go deep on, and write the problem statement for it in one sentence.
Done when: three parts and three problem statements.
Hint
Pick the part that, if wrong, breaks the system.
Medium 3: Wrap-up script (25 minutes)
Write a three-minute spoken wrap-up for your video design: bottleneck, failure, operations, next scale and the next thing to do.
Done when: a script of about 300 words that touches all five points.
Hint
Say each of the five points in one or two sentences.
Hard
Hard 1: Full run (60 minutes)
Run all four steps on "design a service that shortens links and counts clicks". Write each step, with numbers, a drawing, a comparison of two options in the deep dive, and a wrap-up.
Done when: four sections, at least three estimates, two options compared with a sentence on what is given up, and five wrap-up points.
Hint
Compare a counter against random codes, and say what each costs.
Hard 2: Critique a bad run (40 minutes)
Read this account: "The candidate started drawing at once, designed three databases, never mentioned numbers, defended every choice and ended with 'it is complete'." List every mistake, say what was lost for each and rewrite the first five minutes correctly.
Done when: at least five mistakes named, each with a cost, and a corrected opening.
Hint
Think about requirements, numbers, trade-offs and openness to feedback.
Hard 3: Your own checklist (40 minutes)
Write a one-page personal checklist for the four steps. For each step, write the five questions you will ask yourself, and one warning sign that you are off track.
Done when: four steps, five questions each and a warning sign each.
Hint
A warning sign can be "I am drawing and have not asked a question for five minutes".