Day 22: Everything Is Suddenly Slow, and the Processor Is Barely Working
Illustrative interview practice. Generic company names and hostnames do not represent any specific organization.
Scenario
Interviewer Replies from a live service suddenly take much longer than usual. How do you investigate? Follow-up: the processor is only 20% used, yet replies take ten times as long. What could be going on?
In plain words
The service still works, but slowly. Nothing has told you why. The first part asks for your method: where you look first, second and third, and why in that order.
The follow-up adds a clue that puzzles many people. The computer is not working hard, yet it is slow. You are expected to say what a slow, idle computer is doing with its time.
Words you need
| Word | What it means |
|---|---|
| Latency | How long one request takes, from asking to getting the reply. |
| I/O | Input and output: reading from or writing to a disk or the network. |
| Thread | One line of work inside a program. A program handling many requests has many threads. |
| Retransmission | Sending a piece of network data again because the first copy was lost. |
| Trace | A record of one request's whole journey, showing how long each step took. |
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