37/39
Part 6 of 6 · Trade-offs, reviews and evaluationLearn

Answer each follow-up with a component and a number

Interviewers spend the last minutes on follow-ups like these. The strongest answers name a part of the system and a number.

What happens at 10 times the traffic? Redo the estimate on the board and name the first component past its limit. For example: peak goes from 17,000 to 170,000 searches a second. The index still fits in memory, so that's replicas, not a redesign. Feature fetch at 50 shards per request is now 170,000 × 50 = 8.5 million lookups a second, and that's the piece to redesign.

You're over the latency budget. What do you cut? The structural wins first: fewer candidates for the heavy model, a cheap first-pass model, the user side computed once per request instead of once per item, caching, hedged reads.

Why not use a bigger model? Cost per request and p99 latency, against the gain you'd expect. Offer the bigger model offline, distilled into a small one that fits the budget.

How do you know it still works next month? Input and output monitoring, and a retraining schedule matched to how fast the data drifts.

Where does this break first? Name the component and the load where it breaks. Never just say it scales.