Scrivio Interview library
LeadershipPrincipal6 min read · updated 13 November 2026

During last year's peak sale the site was overloaded for two hours. Engineers improvised: one turned off search suggestions, another disabled personalised pricing, and nobody knew whether turning off fraud checks was allowed. Revenue loss was large, and some changes caused new errors.

As the senior technical leader, how do you turn graceful degradation from improvisation into a planned capability that product, business and engineering agree on?

We make degradation a product decision taken in advance: for each journey, product owners list what can be switched off or simplified and in which order, with legal and risk signing off anything like fraud checks. Engineering builds each step as a tested kill switch or brownout flag with an owner and known effect, grouped into a few predefined levels such as green, amber and red, with clear rules for who may pull which level on which measurable trigger and automation for the safe early steps. Switches are tested in load tests and game days before every peak, and each peak ends with a review that updates the plan and reports readiness.

Why this question is asked

Every engineer in this scenario acted in good faith, and the result was still a costly mess: decisions made in the moment, by whoever was awake, without knowing what each change would break or whether it was allowed. Graceful degradation, reducing what a system does so that its most important functions keep working, is only graceful if it is planned. Interviewers ask this leadership question to see whether we can turn an engineering trick into a capability that product, business and engineering own together. In this answer, we will look at why improvisation failed, then make degradation a product decision, build the switches, define who pulls them and when, test them, and close the loop after each peak.

1Why Improvisation Failed

Three things went wrong. Nobody knew in advance which features could be turned off, so engineers chose based on guesswork; disabling personalised pricing may have saved load but also changed what customers paid, which is a business decision. Nobody knew who was allowed to decide; the fraud-check question was the clearest example, because turning it off could expose the company to fraud losses and regulatory problems, and no engineer should face that call alone at 21:00. And the switches themselves were not built for the purpose, so flipping them caused new errors.

So the fix is not braver or faster engineers. It is moving the decisions to calm days, building tools that do exactly what the plan says, and practising with them.

2Make Degradation a Product Decision in Advance

For each important journey, such as browse, search, product page, cart and checkout, product owners and engineers list what can be switched off or simplified, what each step saves, and what it costs. Static or cached recommendations instead of personalised ones. Cached prices instead of live personalised pricing. Search without suggestions. Order confirmation emails deferred by an hour. Each item has an order: what goes first, what goes last.

Product owners sign off this list, because they own the customer experience. Anything with legal, financial or risk implications, fraud checks, tax calculation, age verification, is signed off by legal and risk, and the plan states the answer. For example: fraud checks are never disabled, but they may switch to a cheaper rules-only mode for orders below a set amount, approved in advance by risk. Now nobody needs to ask that question during the peak.

3Build the Switches and Group Them Into Levels

Engineering turns each item into a real switch: a kill switch that disables a feature, or a brownout flag that reduces it, for example serving recommendations from a static list. Each switch has an owner, a documented effect on load and on the user, a fast propagation path so it takes effect within seconds across all instances, and a tested off state that does not throw errors.

Dozens of single toggles are hard to use under pressure, so switches are grouped into a few predefined levels. The incident commander pulls a level, not a list of flags.

Degradation levels (example)
LevelWhat changesTriggerWho decides
GreenFull experienceNormalNobody
AmberStatic recommendations, no search suggestions, deferred emailsp99 > 1 s or DB CPU > 80% for 5 minAutomation, on-call informed
RedCached prices, simplified product pages, rules-only fraud below a set amountAmber not enough after 10 minIncident commander
BlackQueue new visitors, keep checkout for carts in progressCheckout errors risingIncident commander + business lead
Each level was agreed with product, legal and risk before the peak.

Grouping also lets us measure. In load tests we can say that amber reduces database load by about 25 percent and red by about 45, so during the peak the team knows which level matches the overload it sees.

4Who Pulls Which Switch, and When

Each level has measurable triggers and a named decision-maker. Amber is safe and reversible, so automation can apply it when latency, error rate or queue depth crosses a threshold for a few minutes, and it tells the on-call engineer. Red has larger customer and revenue effects, so the incident commander decides, using the same triggers as guidance. The most severe level involves a business lead, because it means turning customers away.

Writing this down removes hesitation. During the last sale, engineers waited because they did not know if they were allowed; next time, the on-call engineer knows that amber is theirs to pull and red is one phone call away.

Step throughPulling a degradation level during a peak
  1. Watch triggersp99 latency, error rate, queue depth, DB CPU
  2. Amber thresholds crossed for 5 min?automation checks
    YesApply amber automatically, notify on-callNoKeep watching
  3. Still overloaded after 10 min?amber saves about 25%
    YesIncident commander applies redNoHold amber
  4. Load back to normal for 30 min?step down one level at a time
    YesReturn towards greenNoHold current level

4 steps in order. Play them, or step through them one at a time.

5Test Before Every Peak

An untested switch is a hope. Before every major peak, load tests run the full stack at expected peak traffic, apply each level, and check two things: that it saves the expected load, and that it causes no new errors. Game days do the same with the people who will be on call, so they practise the decisions as well as the mechanics.

Each test also measures what the level costs. If amber reduces conversion by 0.5 percent and red by 4 percent, the business can see why the order of the levels matters and can update it with real data.

6Review After Each Peak

After the peak, a short review records which levels were used, for how long, what they saved and what they cost, and whether triggers fired at the right moments. The plan is updated: a switch that saved little may be dropped, a new feature added since last year gets its own switch and place in the order.

Degradation readiness becomes part of peak readiness, reported to leadership alongside capacity tests and on-call coverage. That keeps the capability funded and alive between peaks, which is when such plans usually decay.

7Follow-up questions

How do you keep the switches from breaking between peaks?

We exercise them regularly. Automated tests run in each service's pipeline with every switch in its degraded state, so a code change that breaks the off path fails the build. Each switch has an owner and appears on a dashboard with the date it was last exercised, and anything not exercised in, say, 60 days is flagged. Short, scheduled flips in production at low traffic, a few minutes of amber on a quiet morning, confirm that propagation and behaviour still work end to end. New features must declare whether they need a switch before launch.

What if a feature team refuses to build a switch?

The requirement comes from the agreed plan, signed off by product, so it is part of the feature's definition of done for anything on a critical journey. Making it cheap, with a shared flag library and templates, removes most of the resistance.

Is load shedding still needed if we have degradation levels?

Yes. Degradation reduces the work per request; shedding limits how many requests are accepted. Both are needed, and shedding reacts in milliseconds while levels change in minutes.

8Conclusion

In this answer, we turned improvised degradation into a planned capability: product owners decide in advance what each journey can lose and in what order, with legal and risk signing off sensitive items; engineering builds tested switches grouped into a few levels with owners; triggers and decision rights say who pulls which level and when; tests before each peak prove the switches work; and reviews after each peak keep the plan current.

What to say in the interviewAbout 90 seconds aloud

Open with

The problem last year was not the engineers; it was that every decision was made for the first time during the overload, by whoever was there. So I would make degradation a product decision made in advance.

Then, if they want more

For each journey, product owners and engineers list what can be switched off or simplified, static recommendations, cached prices, deferred emails, no search suggestions, what each saves and costs, and the order. Product signs it off, and legal and risk sign off anything sensitive.

For fraud checks the plan gives the answer up front, for example a cheaper rules-only mode below a set amount rather than turning them off.

Engineering then builds each step as a tested kill switch or brownout flag with an owner, a known effect and fast propagation, and groups them into a few levels like green, amber and red, so the incident commander pulls a level rather than dozens of toggles.

Each level has measurable triggers, latency, error rate or queue depth, and a named decision-maker: automation can apply amber, red needs the incident commander, and turning customers away involves a business lead. Before every peak, load tests and game days apply each level and measure what it saves and costs, because untested switches fail when needed.

After the peak, we review what was used and update the plan, and I would report degradation readiness to leadership as part of peak readiness.

About this answer

Last updated
13 November 2026
Checked
Its structure and format are checked automatically. Use it as a carefully prepared study note: where a detail matters, confirm it against the official documentation for the version you use. What the checks cover
Where the question comes from
Written by Scrivio for practice. It is not taken from an interview.
Report an issue with this answer

Copy the line below and send it to the author with what you found. It carries the address of this page.

Issue with "As the senior technical leader, how do you turn graceful degradation from improvisation...": https://scrivio-interview-library.netlify.app/architecture/high-availability/315cd8f93b/