</> MAANG.io
system design · 301

Advanced

Master system design interviews with scalable architecture patterns, distributed systems, and real-world design challenges.

0/480 solved 0% complete

Section 12: What the Hour Was Graded On - Final Summary & Candidate Scorecard

Executive Summary: This section turns the module into a grading tool. It replays the hour as the signals the interviewer was recording, then lays out a 100-point scorecard across five dimensions, each described by what a top answer and a point-losing answer sound like for this problem. Score bands map a total to a readiness level, with a specific fix for each. A final catalog shows where the question hides in real loops (Twitter's home timeline, LinkedIn, activity feeds, a notification inbox, Pinterest) and what changes in each.

The boxes you drew for Maya's 9:00:04 feed open were worth about a quarter of the points. The interviewer was grading something else. Did you find the two numbers that kill the naive designs before anyone asked? Did you say "100K followers" and then say what would move it? Told "just pull everything," did you answer with the tail math? You can't reliably earn points you can't name, so this section names them.

The Arc, Replayed as Signal

The module moved in five phases. This diagram pairs each phase with the signal it was recording.

The interview arc as recorded signal: Sections 1-3 (frame and measure) found both killers, 35M reads/s and 80M inserts; Sections 4-6 (contract, stores, boxes) showed IDs not content and cursor not page number; Sections 7-8 (deep dives) gave mechanism plus number on ranking and fan-out; Section 9 (the gauntlet) held position with a reason or moved with one; Sections 10-11 (break it, grow it) showed derived data is rebuildable and new features plug in

Section 1 named two traps, the Timeline Joiner and the Broadcaster, and Section 3 put a number on each. Pure pull costs 35M timeline reads a second, and 87% of opens hit a slow fetch. Pure push turns one @luna_sings post into 80M inserts (all 80M of her followers are active), 80 seconds of the whole fan-out fleet. Every box after that was the hybrid those two numbers forced.

Key Insight: None of these signals is "knew Redis" or "knew Kafka." Each is about letting a measured number pick the mechanism. The 87% tail is why followee timelines aren't merged at read time. The 80M inserts are why celebrities are pulled. And 16 TB of RAM against only 5.6K inserts/s per shard is why memory, not throughput, sizes the feed cache.

Quick check before moving on:


Sign in to continue reading

The rest of this lesson is available with a free account. Signing in with Google or Microsoft is free.

Sign in to read the full lesson

Sign in to MAANG.io

Use your Google or Microsoft account — no password to remember.

Continue with Google Continue with Microsoft

Please accept the terms above to continue.