Quick revision
The short answer
I would make peak readiness a yearly programme rather than a scramble: forecast each peak with the business teams and load-test the whole platform end to end at those levels well ahead of time. The platform gets admission control and load shedding at the edge so overload rejects low-priority traffic instead of failing everything, and critical journeys such as checkout are protected over optional ones such as recommendations by design. Before each event we hold readiness reviews and a change freeze, and after it we review what happened and fund the follow-up work.
What to remember
In this answer, we built long-term capacity and load management for peak events. We forecast peaks with the business and load-test full journeys well ahead, put admission control and load shedding at the edge, protect critical journeys like checkout over optional ones by design, run readiness reviews and a change freeze before each event, and review each peak afterwards with funded follow-up work.
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.
I would make peak readiness a yearly programme rather than a scramble: forecast each peak with the business teams and load-test the whole platform end to end at those levels well ahead of time. The platform gets admission control and load shedding at the edge so overload rejects low-priority traffic instead of failing everything, and critical journeys such as checkout are protected over optional ones such as recommendations by design. Before each event we hold readiness reviews and a change freeze, and after it we review what happened and fund the follow-up work.
Why this question is asked
Two outages in a row on the busiest day of the year is an expensive pattern: that is when revenue, attention and customer patience are all at their peak. It usually means the organisation treats peaks as an engineering surprise rather than a planned business event. Interviewers ask this to see whether a senior leader can build lasting capability, not just survive the next sale. In this answer, we will look at why peaks keep failing, then go through forecasting and load testing, admission control and shedding, prioritising critical journeys, readiness and freezes, and the review loop that makes each year better.
1Why Peaks Keep Failing
When an organisation fails at the same event twice, it is rarely one bug. More often, nobody owns the peak as a whole, load tests cover single services rather than the full journey, capacity is estimated from last year without the marketing plan, the platform has no way to degrade gracefully, and changes keep shipping until the day before. Each of these is fixable, but only together, which is why this is a leadership question rather than a tuning task.
2Forecast With the Business and Test End to End
Engineering cannot guess the peak alone. The business teams know the campaigns, the discount depth and the email send times, so we forecast together: expected visitors per minute, orders per minute and the shape of the first hour, which is often the worst. If last year's peak was 8,000 orders per minute and marketing plans a larger campaign, we might target 12,000 and test at 15,000 for margin.
Then we load-test the real end-to-end journeys, browse, search, add to cart, checkout and payment, at those levels, months before the event, because what fails at peak is usually the interaction between services, not one service alone. Tests run against production-like environments, or production itself in quiet hours with synthetic orders clearly marked, and include third parties through stubs or agreed test windows. Each test produces a list of bottlenecks, and fixing them is planned work with owners and dates.
- Forecast with business teamstarget 12,000 orders/min, test at 15,000
- End-to-end load testsmonths ahead, repeated
- Fix bottlenecksowned and scheduled
- Readiness reviewper critical service, two weeks before
- Change freeze and peak daywar room, live dashboards
- Post-peak reviewfund follow-up work
6 steps in order. Play them, or step through them one at a time.
3Admission Control and Load Shedding at the Edge
No forecast is perfect, so the platform must behave well when demand exceeds capacity. Admission control means the edge decides how much traffic to let in, based on what the platform can serve, and rejects or queues the rest early, when rejecting is cheap. Load shedding means dropping the least important work first. Together they turn overload into a degraded experience for some users rather than a total failure for all.
A common tool for retail peaks is a virtual waiting room: when active sessions pass a threshold, new visitors see a queue page and are admitted at a controlled rate. Behind it, each service has concurrency limits and sheds low-priority requests, such as recommendation calls or analytics events, once it is near capacity, returning quick fallbacks instead of slow errors.
4Protect Critical Journeys by Design
When something has to give, it should be the optional parts. Checkout and payment must work; recommendations, reviews and personalised banners are nice to have. We decide this ranking in advance with product owners and build it into the system: optional features have feature flags that can be switched off during peak, run on separate capacity or behind bulkheads so their slowness cannot consume checkout's threads, and have timeouts and fallbacks so the page renders without them.
| Journey | Priority | Under overload |
|---|---|---|
| Checkout and payment | Critical | protected capacity, never shed |
| Product page, cart | High | served, optional sections may hide |
| Search | High | simpler ranking if needed |
| Recommendations, reviews | Optional | switched off by flag |
| Analytics events, exports | Background | queued or dropped first |
5Readiness Reviews and Change Freezes
About two weeks before the event, each team owning a critical service goes through a short readiness review: load test results at the target, capacity provisioned, autoscaling limits raised, dashboards and alerts ready, runbooks for known failure modes, fallbacks tested, and on-call rotas confirmed. Third-party providers are told our expected volume.
Then a change freeze starts a few days before the event and lasts until shortly after. Most incidents are caused by changes, so stopping non-essential changes removes the largest source of risk exactly when it matters most. Emergency fixes still go through, with a senior approval. On the day, a small war room watches a shared dashboard of the critical journeys and has the authority to switch off optional features.
6Review Every Peak and Fund the Follow-Up
After each peak, successful or not, we hold a blameless review: where did we run close to limits, which alerts fired, which fallbacks activated, what surprised us. The output is a list of actions with owners, and the part leaders often miss is funding them. If the follow-up work competes with features and loses every time, the same weaknesses return next year. So peak readiness gets an explicit budget in the roadmap, reported on like any other commitment, and the next year's programme starts from these findings.
7Follow-up questions
How do you convince the business to accept a change freeze?
By showing the data: most of our past incidents followed a change, and an outage on peak day costs far more than a few days without releases. We also make the freeze predictable, announced months ahead, so teams plan their releases around it.
What if the load test environment is not like production?
Then results will mislead us. We either invest in a production-like environment for the critical journeys or test in production during low traffic with synthetic, clearly marked traffic, ramping up slowly with the ability to stop at once.
How do you measure success?
Availability and latency of the critical journeys during the peak, orders completed per minute against forecast, how often optional features were switched off, and how many follow-up actions from last year were completed before this one.
8Conclusion
In this answer, we built long-term capacity and load management for peak events. We forecast peaks with the business and load-test full journeys well ahead, put admission control and load shedding at the edge, protect critical journeys like checkout over optional ones by design, run readiness reviews and a change freeze before each event, and review each peak afterwards with funded follow-up work.
Open with
I would turn peak days into a planned yearly programme with a clear owner, because failing twice in a row usually means nobody owns the peak end to end.
Then, if they want more
It starts with forecasting together with the business teams, since they know the campaigns and send times; if last year was eight thousand orders a minute and the campaign is bigger, we might target twelve thousand and test at fifteen.
Then we load-test the real journeys end to end, browse through checkout and payment, months before the event, and treat each bottleneck as scheduled work with an owner.
Because forecasts are never perfect, I would build admission control at the edge, such as a waiting room and concurrency limits, so overload rejects or queues low-priority traffic early instead of failing everything.
And I would protect critical journeys by design: checkout and payment get protected capacity, while recommendations and reviews sit behind bulkheads and feature flags so we can switch them off.
Two weeks before the event, each critical team goes through a readiness review covering test results, capacity, dashboards, runbooks and tested fallbacks, and a change freeze starts a few days before. On the day, a small war room watches critical journeys with authority to switch features off.
Afterwards, a blameless review produces actions, and the important part is that I fund them explicitly in the roadmap, so they do not lose to features again.
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 Cloud documentation, Resilience4j documentation
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 "Peak events such as sales days bring ten times normal traffic and have caused outages...": https://scrivio-interview-library.netlify.app/spring-boot/resilience/c09e325a8c/