Scrivio Interview library
LeadershipPrincipal5 min read · updated 12 November 2026

Overselling during peak events costs your company millions in cancellations and customer trust, while underselling leaves stock unsold. As the senior technical leader, how do you set the strategy?

I would treat it as a business trade-off rather than a pure engineering defect: with the business owners, we agree acceptable oversell and undersell rates, because both cost money and driving one to zero raises the other. Then I would invest in accurate stock data from the sources, which is usually the real root cause, use buffers per channel and product class instead of one global rule, measure outcomes after each peak and adjust, and fund the engineering and the operational work, such as store counts, together.

Why this question is asked

Overselling and underselling are two sides of the same uncertainty: we do not know exactly how much stock we have. Oversell and we cancel orders, refund, and lose customers' trust at the moment they cared most. Undersell and stock sits unsold while customers buy elsewhere, often ending in markdowns. A senior technical leader cannot fix this with code alone. Interviewers ask this to see whether we can frame a strategy that joins business goals, data quality and operations. In this answer, we will frame the trade-off with numbers, find the root cause in stock data accuracy, set buffers per channel and product class, measure after each peak, and fund the whole effort, not just its software.

1A Business Trade-off, Not Just a Bug

Start by putting numbers on both sides. Suppose a cancelled oversold order costs us 25 dollars on average, in handling, customer service and compensation vouchers, plus a measurable drop in the customer's future spending. Suppose an undersold unit costs us its margin, say 12 dollars, and part of its value if it is later marked down. With those numbers, overselling one unit is roughly twice as costly as underselling one, so we should accept a few more unsold units to avoid a cancellation, but not unlimited ones.

This is why the decision belongs with business owners as much as with engineering. Together we set targets: for example, oversell below 0.2 percent of peak orders and buffered, unsold stock below 1 percent of peak inventory. Engineering's job becomes hitting those targets at the lowest cost, which is a much clearer mandate than never oversell.

Two errors, two costs
OversellUndersell
What happensorder accepted, no stockstock held back, not sold
Direct costcancellation, refund, servicelost margin, later markdown
Hidden costtrust, future spend, reviewscustomer buys elsewhere
Typical driverstale or wrong stock databuffers larger than needed

2The Root Cause Is Usually Stock Data Accuracy

When we analyse oversells after a peak, most rarely come from a software race. They come from stock records that were wrong before the sale started: a store system says 5 units but the shelf has 2, a warehouse location holds damaged items still counted as sellable, a seller's feed is a day old. The term for this is inventory record accuracy, and in retail it is often far from 100 percent, especially in stores.

Buffers can only compensate for bad data; they cannot fix it. So a large part of the strategy is investing at the source: more frequent cycle counts for high-risk items, scanning at receipt and on damage, faster integration with stores and sellers, and alerts when a location's data stops updating. Every percentage point of accuracy we gain lets us shrink buffers, which reduces undersell too.

3Buffers per Channel and per Product Class

One global buffer, such as always hold back two units, is wrong for most products. A buffer should reflect how uncertain the data is and how costly an error is. So we set buffers by channel, for example store stock sold online gets a larger buffer than warehouse stock, and by product class, for example limited editions and high-value items get larger buffers because an oversell there costs much more in disappointment.

The buffers live in configuration, reviewed by merchandising and operations, and are applied by the availability service. Before a known peak, such as a product launch or Black Friday, we can tighten them for the most at-risk products and relax them for steady sellers with accurate data.

4Measuring After Each Peak

Every peak is an experiment we should learn from. Within a week, we review oversell rate by channel and product class, the cause of each oversell sampled from a set of cases, unsold stock that was held by buffers, cancellations and customer complaints, and how the buffers performed against what actually sold.

The output is a short report and a list of changes: grow the buffer for this category, fix the feed from that seller, schedule more counts in these stores. Over several peaks the targets get tighter as data improves. Without this loop, buffers drift into folklore that nobody dares to change.

Step throughPeak-to-peak improvement loop
  1. Agree targets with businessoversell and undersell rates
  2. Improve source datacounts, scanning, feed latency
  3. Set buffers by channel and classconfiguration, reviewed before peaks
  4. Run the peakmonitor oversell and stock in real time
  5. Review within a weekcauses, held stock, cancellations
  6. Targets met?
    YesTighten targets and buffersNoFund fixes for the biggest causes

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

5Funding Engineering and Operations Together

The last point is about money and ownership. If the strategy funds only software, buffers and dashboards get built while store counts stay inaccurate and nothing improves. If it funds only operations, counts improve but systems keep using stale data. The two must be funded and planned together, with a shared owner and shared targets.

In practice I would propose a joint programme with operations: engineering builds faster integrations, the confidence model and the measurement, operations runs the counting and scanning processes, and both report against the same oversell and undersell numbers to the same business sponsor.

6Follow-up questions

Why not just set buffers high enough that we never oversell?

Because the buffer becomes a permanent undersell. Holding back three units of every product across thousands of stores is a large amount of stock that never sells online, and that cost is invisible unless we measure it. Agreed targets keep the two in balance.

How do you get business owners to agree on an acceptable oversell rate?

By showing both costs with the company's own numbers from the last peak: what the cancellations cost and what the held-back stock cost. Once both are visible, a target is a business decision people are comfortable making.

Which products would you focus on first?

Those where errors are most expensive or most frequent: limited releases, high-value items, and items sold from stores with poor count accuracy. A small share of products usually causes most oversells.

7Conclusion

In this answer, we framed oversell and undersell as a trade-off with costs on both sides and agreed targets with the business, found that inaccurate stock data is usually the root cause and invested at the source, set buffers per channel and product class instead of one global rule, reviewed every peak and adjusted, and funded engineering and operations as one programme with shared targets.

What to say in the interviewAbout 80 seconds aloud

Open with

I would start by making it a business trade-off rather than an engineering bug, because both errors cost money and pushing oversell to zero just converts it into undersell.

Then, if they want more

With the business owners I would put numbers on each, cost per cancelled order including lost future spend against lost margin and markdowns per unsold unit, and agree target rates for both.

Then I would go after the root cause, which in my experience is usually stock data accuracy rather than a software race: store counts that are wrong, damaged stock still counted, seller feeds a day old. So we invest in cycle counts, scanning and faster integrations, because every improvement there lets us shrink buffers.

Buffers themselves should be set per channel and per product class, bigger for store stock sold online and for high-value or limited items, held in configuration that merchandising can review before a peak. After every peak we review oversell causes, held-back stock and cancellations within a week and adjust.

And I would fund engineering and operations together as one programme with one sponsor and the same targets, since neither can fix this alone.

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 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 "Overselling during peak events costs your company millions in cancellations and customer...": https://scrivio-interview-library.netlify.app/architecture/backend-system-design/a659792e0d/