Day 5: A Release That Drops Some Users While Every Check Is Green
Illustrative interview practice. Generic company names and hostnames do not represent any specific organization.
Scenario
Interviewer A new version is rolled out a few servers at a time. Some users are cut off during the rollout, although every health check stays green. Why? And why does switching all traffic at once from the old version to the new one reduce this?
In plain words
There are two common ways to release a new version. One replaces the servers a few at a time, so for a while both versions are running. The other builds a complete second set of servers, tests it, then moves everyone across in one step.
The question asks what goes wrong during the first way, why the automatic checks do not notice, and why the second way avoids it.
Words you need
| Word | What it means |
|---|---|
| Rolling release | Replacing servers with the new version a few at a time. Old and new run side by side until it finishes. |
| Blue-green release | Running a full second set of servers with the new version, then switching all traffic to it at once. |
| Feature flag | A switch that turns a piece of behaviour on or off without releasing new code. |
| Cache | A stored copy of an answer, kept so it need not be fetched again. |
| Roll back | Go back to the previous version. |
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