Quick revision
The short answer
We treat it as an explicit risk with an owner and a deadline, because the window while the experts are still here is the cheapest time to act. We capture how the systems work and how they fail while the experts can still explain them, grow the skills deliberately through pairing, rotations and on-call shadowing, and shrink what needs scarce skills by reducing custom filters and extensions and replacing low-differentiation custom code with managed or widely used products.
What to remember
In this answer, we managed the key-person risk of a reactive gateway and edge stack as a named risk with an owner. We used the remaining time with the experts to capture architecture reasons, failure modes and runbooks, tested them in game days, grew skills deliberately with pairing, rotations and on-call shadowing across several successors, reduced custom filters and replaced low-differentiation code with widely used or managed products, and tracked measurable signals in the risk register until the risk was closed.
Your turn
Answer it aloud as you would in the interview, or type your answer below. Then show one part at a time and compare.
We treat it as an explicit risk with an owner and a deadline, because the window while the experts are still here is the cheapest time to act. We capture how the systems work and how they fail while the experts can still explain them, grow the skills deliberately through pairing, rotations and on-call shadowing, and shrink what needs scarce skills by reducing custom filters and extensions and replacing low-differentiation custom code with managed or widely used products.
Why this question is asked
Critical systems built by a small group of experts are common, and they are often the best-engineered parts of a company. The risk appears when those experts leave: incidents take longer, changes slow down, and eventually nobody dares touch the gateway. Reactive stacks on Netty make this sharper because the skills involved, event loops, backpressure, reactive debugging, are less common than ordinary Spring skills. Interviewers ask this leadership question to see whether we manage people and knowledge with the same discipline as code. In this answer, we will name the risk precisely, then go through capturing knowledge, growing skills, reducing what needs scarce skills, and how we track the risk until it is closed.
1Naming the Risk Precisely
Key-person risk is the risk that a system depends on knowledge held by so few people that losing them would harm the business. Here we can make it concrete. The gateway carries every external request, the edge services carry the main customer flows, and the people who can debug a stuck event loop, a memory leak in Netty buffers or a backpressure problem are leaving within, say, six months. The expected harm is longer incidents, unsafe changes and a frozen roadmap for the edge.
A useful first step is a short inventory: for each system, what it does, how critical it is, how much of it is custom code, who understands it today, and how often it changes or fails. That inventory turns a vague worry into a list we can prioritise.
| System | Custom code | People who can debug it | Priority |
|---|---|---|---|
| API gateway (Spring Cloud Gateway) | 14 custom filters | 2, both leaving | highest |
| Auth edge service | custom token cache | 2, one leaving | high |
| Streaming edge service (SSE) | custom backpressure logic | 1, leaving | high |
| Static routing proxy | configuration only | many | low |
2Capturing Knowledge While the Experts Are Here
Documentation written for its own sake goes stale. What we want from the experts is the knowledge that is hardest to rediscover: why the system is designed the way it is, how it fails and how to recover. So we ask them to produce a small, specific set of material: an architecture overview with the reasons behind the main choices, a runbook for each known failure mode (a blocked event loop, direct-memory exhaustion, connection-pool starvation to a backend, a misbehaving filter), the dashboards and thread-dump patterns they use to diagnose them, and the list of things that look odd but are deliberate.
Recorded walkthroughs help too: an expert diagnosing a staged incident on a test environment while explaining what they look at and why is worth more than many pages. And we run game days, deliberately injecting the failures in staging, with the experts observing while others lead, so the runbooks are tested by the people who will use them.
3Growing Skills Deliberately
Knowledge transfer has to be planned, not hoped for. We pick successors, ideally four to six engineers rather than one or two, so we do not recreate the same risk, and give them time for it in their goals. They pair with the experts on real changes to the gateway and edge services, take turns rotating onto the team for a few weeks at a time, and shadow the experts on call, then lead incidents with the experts shadowing them. A short internal course on event loops, backpressure and reactive debugging, built from the experts' material, lowers the barrier for everyone else.
We also make it attractive. Work on critical infrastructure can be career-building if it is recognised as such; it becomes a burden if it is extra work on top of a full roadmap.
- Read the architecture notes and runbooksweek 1
- Pair on two real changes with an expertweeks 2 to 4
- Shadow the expert on callone full rotation
- Lead a game-day incident, expert observingstaged failure in staging
- Diagnosed and recovered without help?YesJoins the on-call rotationNoAnother pairing cycle
- Reverse shadow: expert shadows the successorone rotation before the expert leaves
6 steps in order. Play them, or step through them one at a time.
4Reducing What Needs Scarce Skills
The other half of the plan is to make the system need fewer experts. Every custom filter and extension is code someone must understand, so we review them: some can be replaced with built-in gateway filters or standard Spring Security configuration, some belong in the backend services that own the routes, and some are no longer used. Cutting 14 custom filters to 5 shrinks the surface area to learn and the number of ways the gateway can fail.
Where the custom code gives little differentiation, we consider replacing it with a managed or widely used product: a cloud provider's API gateway, a common open-source proxy, or a standard Spring Cloud Gateway setup without custom code. The test is whether the system gives a real competitive advantage. A gateway that routes, authenticates and rate-limits is rarely a differentiator, and the market has many engineers who know the common products. A migration has its own cost and risk, so it is planned with the experts' input while they are still here, not after.
5Tracking the Risk Until It Is Closed
Finally, the risk goes into the risk register with a named owner, usually the engineering manager or director responsible for the platform, a target date and measurable signals: the number of people who can independently handle each failure mode, the number of custom filters, the share of incidents led by non-experts, and time to recover in game days. It is reviewed monthly until the experts leave and quarterly after. The same review asks the general question for other systems: where else does a critical system depend on two people? This scenario is rarely unique, and the practices that fix it, runbooks, rotations, reducing custom code, are worth applying everywhere.
6Follow-up questions
What if the experts are leaving in a few weeks, not months?
Then we prioritise ruthlessly: recorded walkthroughs of the most likely failures, runbooks for the top three incident types, and a freeze on risky changes to the gateway until successors are ready. We might also offer the experts a paid consulting arrangement for a few months after they leave, as insurance for major incidents.
Isn't replacing the stack with a managed product just as risky?
It can be, which is why it is a decision rather than a default. It makes sense when the custom code offers little differentiation and the product covers our needs, and it should be planned in stages with the experts' help. When the custom stack does offer real value, investing in skills is the better choice.
How do you avoid building a new small group of experts?
By making the knowledge part of normal work: on-call rotations that include several teams, code review of gateway changes by engineers outside the platform team, and a rule that every critical system has at least three people who have recently handled an incident on it.
7Conclusion
In this answer, we managed the key-person risk of a reactive gateway and edge stack as a named risk with an owner. We used the remaining time with the experts to capture architecture reasons, failure modes and runbooks, tested them in game days, grew skills deliberately with pairing, rotations and on-call shadowing across several successors, reduced custom filters and replaced low-differentiation code with widely used or managed products, and tracked measurable signals in the risk register until the risk was closed.
Open with
I'd treat this as an explicit business risk, not a staffing footnote, and act while the experts are still here, because that's the cheapest time. First I'd make it concrete with a short inventory: each system, how critical it is, how much custom code it has, and who can debug it today.
Then, if they want more
The gateway with fourteen custom filters and two people who understand it, both leaving, goes to the top. Then four things. Capture knowledge that's hard to rediscover: the reasons behind the design, runbooks for each known failure mode like a blocked event loop or direct-memory exhaustion, the dashboards and thread-dump patterns they use, and recorded walkthroughs.
I'd test those runbooks with game days where others lead and the experts observe. Second, grow skills deliberately: pick four to six successors, not one, give them time in their goals, pair them on real changes, rotate people through the team, shadow on call and then reverse-shadow before the experts leave, and turn the material into a short internal course.
Third, reduce what needs scarce skills: review every custom filter, remove or move into backend services what doesn't need to be in the gateway, and where the custom code isn't a differentiator, consider a managed gateway or a widely used product, planned with the experts' input.
Fourth, put it in the risk register with an owner, a date and measurable signals, like how many people can independently handle each failure mode and the share of incidents led by non-experts, and review it monthly until it's closed.
About this answer
- Last updated
- 12 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 documentation below. What the checks cover
- Where the question comes from
- Written by Scrivio for practice. It is not taken from an interview.
- Official documentation
- Spring Framework reference, Spring WebFlux, Project Reactor reference guide
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 "Your API gateway and several edge services run on a Netty-based reactive stack...": https://scrivio-interview-library.netlify.app/spring-boot/webflux/5ad4976c3a/