Part 5 of 8 · 2 min read
Closing
The last ten minutes.
Failures (3 minutes). Name three failures and the response to each. Examples: a server dies (a load balancer removes it, state is in the database), a database primary fails (a replica is promoted, writes pause for seconds), a dependency is slow (timeouts, retries with backoff, a circuit breaker, a fallback), a bad deploy (canary, rollback).
Trade-offs (3 minutes). Name two trade-offs you made, with the alternative. "I chose eventual consistency for the feed to get speed, and strong consistency for payments, since money must not be wrong."
Monitoring (1 minute). Three metrics: the success rate, the delay at the 99th percentile, and a business number such as orders a minute. An alert when one leaves its normal range.
Summary (2 minutes). Six sentences:
- What was built.
- The scale it handles.
- The core idea.
- The main trade-off.
- What breaks first at 10 times load.
- What you would do next with more time.
Questions for the interviewer (1 minute). Ask one real question, for instance "How would a real team split this into services?" It shows interest in practice.
Practical habits.
- Keep one diagram, and update it rather than redrawing.
- Label arrows with what flows on them.
- Use the words defined in the course, and define any word the interviewer may not know.
- Keep a calm pace. Silence for 10 seconds to think is fine; say "let me think for a moment".
- Do not claim to know a product's inner details. Say "a system like that would typically..."
A worked example (made up). Summary for a ticket booking service: "I built a booking service with a search index and a booking store. It handles 8,300 requests a second at launch through a waiting room that admits 500 users a second. The core idea is a seat hold with a lease and an atomic reservation. The main trade-off is a queue delay for fairness. At 10 times the load, the waiting room and the seat store come first. With more time I would add a test plan for the payment edge cases."
Check yourself: 1. Name the six sentences of the summary. 2. Which two kinds of failure should you name? 3. What do you do during a thinking pause?