Revision and your one-page cheat sheet
Overview
You’ve covered a lot in seven weeks. This lesson helps you consolidate it into something you can carry into an interview: a one-page sheet of numbers and patterns, and a targeted revision plan based on what your mocks revealed. The goal isn’t to know everything; it’s to recall the essentials quickly and reason well with them.
The numbers
Write these from memory a few times this week. In interviews, introduce them as assumptions: “Assuming a Redis node handles around 100,000 operations per second…”
Pattern map: problem → building blocks
| Problem shape | Usual building blocks | Key risk to discuss |
|---|---|---|
| Read-heavy lookup (URL shortener, profiles) | Key-value store, cache, CDN | Hot keys, cache invalidation |
| Feeds and timelines | Fan-out queue, per-user feed cache, hybrid push/pull | Celebrity fan-out |
| Real-time messaging | WebSocket gateways, connection registry, sequence numbers | Ordering, offline delivery |
| Media upload and streaming | Presigned uploads, object storage, async processing, CDN | Bandwidth and cost |
| Search and typeahead | Inverted index or trie, offline build, caching | Freshness, ranking |
| Location-based matching | Geospatial cells in memory, streaming updates | Write volume, double assignment |
| Booking and inventory | Conditional writes, holds with TTL, unique constraints | Contention, overselling |
| Money movement | Idempotency, state machine, double-entry ledger, reconciliation | Unknown outcomes |
| Background work and notifications | Queues per type and priority, workers, DLQ | Retries, duplicates |
| Huge data stores | Consistent hashing, replication, quorums, LSM | Consistency vs availability |
When you hear a new problem, ask which rows it resembles. Most “new” problems are combinations: “Design Google Docs” is real-time messaging + storage + conflict resolution; “Design a hotel booking system” is booking and inventory + search.
The framework, one more time
Clarify (3 min) → requirements (4) → estimates (3) → API (4) → data model (4) → high-level design (10) → deep dives (12) → trade-offs and wrap-up (5). Have it so well rehearsed that you don’t think about it in the interview.
Revise from your weak areas
Use your mock scores to pick three weak areas, and give each a concrete action:
- Estimates weak? Do five 5-minute estimation drills on different products.
- Consistency fuzzy? Re-read consistency models, CAP and quorums, then explain each aloud in two minutes without notes.
- Deep dives shallow? Pick three case studies and write a one-page deep dive on their hardest part (fan-out, seat holds, payment state).
- Running out of time? Do two mocks focused only on finishing a complete high-level design by minute 25.
- Communication? Record a mock and count silences longer than 20 seconds; practise narrating while drawing.
Active recall beats re-reading: close the notes and re-draw a design from memory, then compare.
The last few days
- Review your cheat sheet and pattern map daily.
- Re-draw two or three designs you know well, quickly, to stay fluent.
- Do a final light mock two days before, not the night before.
- Prepare questions to ask the interviewer about their systems and team.
- Sleep. A rested brain reasons far better than a crammed one.
Recap
Consolidate the course into a one-page sheet of numbers and a pattern map from problem shapes to building blocks. Revise from your mock scores with specific actions on your three weakest areas, using active recall rather than re-reading. Keep the framework automatic, stay fluent with a few practised designs, and go into interviews rested.
Build your own cheat sheet
Create your own one-page cheat sheet from memory first, then check it against the course: (1) ten numbers you'll use in estimates, (2) a 'problem → key building blocks' map for at least eight problem types, (3) the interview framework steps with timings, and (4) your three weakest topics from your mock-interview scores, each with one specific revision action.
1. Numbers:
-
2. Problem → building blocks:
-
3. Framework (with timings):
-
4. Weak topics and actions:
-Example (yours should reflect your own mocks):
1. Numbers: day ≈ 10^5 s; 1M/day ≈ 12/s; RAM 100 ns; SSD 100 µs; DC RTT 0.5 ms;
cross-continent 100-150 ms; Redis ~100k ops/s/node; DB ~5-50k simple queries/s;
99.99% = 53 min/year; photo ~1 MB; 7 base62 chars ≈ 3.5 trillion.
2. Problem → building blocks:
- read-heavy lookup (URL shortener) → KV store + cache + CDN
- feeds → fan-out queue + feed cache + hybrid for celebrities
- real-time messaging → WebSockets + registry + per-conversation sequence
- media → presigned upload + object storage + async processing + CDN
- search/typeahead → inverted index / trie + offline build
- location → geospatial cells in memory
- booking/inventory → conditional writes + holds with TTL + unique constraints
- money → idempotency + state machine + double-entry ledger + reconciliation
3. Framework: clarify 3, requirements 4, estimates 3, API 4, data model 4,
high-level 10, deep dives 12, wrap-up 5 (minutes).
4. Weak topics: (a) consistency models → redo the quorum and CAP exercises and explain
them out loud; (b) estimates → do 5 quick estimation drills; (c) sharding → re-draw
the chat and KV store designs with shard keys and hot-key handling.Summary
- Memorise orders of magnitude for latency, capacity, conversions and availability, and use them as stated assumptions.
- Map problem types to their usual building blocks, so you recognise patterns quickly.
- Revise from your mock-interview scores: target your weakest areas with specific actions.
- Re-draw key designs from memory and explain them aloud rather than re-reading notes.
- Before the interview, review the framework, your cheat sheet and two or three practised designs — then rest.