CSE Roadmap

Common tier · about 6 hours · 7 parts

Part 7 of 7 · 2 min read

Exercises

Easy

Easy 1: Do one easy prompt (45 minutes)

Run prompt 1 or 4 with the routine. Write the scope, numbers, design and summary.

Done when: a one-page answer with four questions, three numbers with formulas, and a numbered diagram.

Hint

Keep to the clock.

Easy 2: Photo sync numbers (20 minutes)

8 million users, 4 photos a day at 3 MB. Give the data a day in TB and the average upload speed in GB/s.

Done when: you write 96 TB a day and about 1.1 GB/s.

Hint

8,000,000 × 4 × 3 MB, then divide by 86,400.

Easy 3: Vote rate (20 minutes)

4 million viewers, 25 per cent vote within 50 seconds. Give votes a second.

Done when: you write 20,000 per second.

Hint

1,000,000 / 50.

Medium

Medium 1: Do two medium prompts (90 minutes)

Run prompt 12 and prompt 18 with the routine. Score each with the checklist.

Done when: two answers and two scores out of 22.

Hint

Score each point as 0, 1 or 2.

Medium 2: Log volume (30 minutes)

5,000 servers, 200 lines a second, 250 bytes a line, 14 days retention, compression 5 to 1. Give MB/s, TB a day and stored TB.

Done when: you write 250 MB/s, about 21.6 TB a day, and about 60.5 TB stored.

Hint

5,000 × 200 × 250 bytes.

Medium 3: Flash sale numbers (30 minutes)

600,000 requests in the first 2 seconds, 2,000 items. Give requests a second, and the fraction that must be rejected at the cache.

Done when: you write 300,000 per second and 99.67 per cent.

Hint

1 minus 2,000 / 600,000.

Hard

Hard 1: Do a hard prompt (60 minutes)

Run prompt 21 or 26 with the full routine and write the answer as if for an interview.

Done when: an answer with scope, numbers, API, data, design, a deep dive, failures and a summary.

Hint

The deep dive is the part that decides the design.

Hard 2: Build your gap list (60 minutes)

After three prompts, write your nine biggest gaps, matched to levels, and a plan to fix each.

Done when: a list of nine gaps, each with a level number and a task.

Hint

Be specific, such as "caching" with a level.

Hard 3: Write a new prompt (60 minutes)

Write a thirty-first prompt with questions to ask, numbers and a core idea, in the table format.

Done when: a row with all five columns and a short list of what a good answer adds.

Hint

Base it on a system you use.