Day 26: Slow at the Same Minute Every Night
Illustrative interview practice. Generic company names and hostnames do not represent any specific organization.
Scenario
Interviewer A service runs well all day. Every night at exactly midnight it becomes slow for about five minutes, then recovers by itself. What could explain that?
In plain words
Latency is how long a request takes. Here it jumps at the same clock time every night and then settles without anyone touching anything.
The interviewer wants to hear what the timing tells you, a short list of things that could behave this way, and how you would find out which one it is.
Words you need
| Word | What it means |
|---|---|
| Latency | How long one request takes, from asking to getting the answer. |
| Scheduled job | A program the computer starts by itself at a set time, with nobody pressing a button. |
| Cron | The standard Linux tool for scheduled jobs. Each line of its list is a time and a command. |
| Cache | A store of ready-made answers, kept so the slow work is not repeated for every request. |
| TTL | Time to live: how long a cached answer is kept before it is thrown away. |
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