Day 29: No Errors, but Half the Page Is Empty
Illustrative interview practice. Generic company names and hostnames do not represent any specific organization.
Scenario
Interviewer A service stops returning complete answers, yet reports no errors. For example, a customer's account page shows their name and address, but their order list is empty. Why might that happen?
In plain words
The service answers every request and says each one succeeded. Part of the answer is simply missing.
The interviewer wants to know how an answer can be incomplete without an error, how you would find the piece that is failing, and how you would notice this sooner next time.
Words you need
| Word | What it means |
|---|---|
| Dependency | Another service or database that yours has to call before it can answer. |
| Timeout | The longest a caller will wait for a reply before giving up. |
| Fallback | A stand-in value used when the real one cannot be fetched, such as an empty list. |
| Circuit breaker | A safety switch in the code. After repeated failures it stops calling a broken service for a while. |
| Replica | A copy of a database that follows the main one and can be read from. It may be a little behind. |
Your answer
2:00
Observe → Hypothesise → Investigate → Mitigate → Prevent. The timer is optional; your answer is not auto-submitted.
0 / 20,000 characters · Not saved