BRD-018 — Concurrent Demand: Stock Integrity Under Simultaneous Orders and the Scaling Decision

By Product Management & Engineering Leadership•October 8, 2026•5 min read
Metadata Details
Project Name Concurrent Demand — Stock Integrity Under Simultaneous Orders
Document ID BRD-2026-INV-001
Author Product Management & Engineering Leadership
Target Date Q4 2026
Status Approved

1. Executive Summary & Business Goal

BRD-013 already commits the business to setting stock aside the moment an order is placed, and only permanently taking it once the order genuinely succeeds. What that document doesn’t yet speak to is what happens when it isn’t one customer placing one order, but several customers reaching for the same limited stock at effectively the same instant — a popular restock, a flash sale, the last few units of something in demand. In that moment, the business needs two things to both be true at once: exactly one of those customers can actually walk away with the stock, and every other customer who was racing for it finds out quickly and unambiguously that they didn’t — rather than a checkout that stalls, double-sells, or leaves someone wondering whether their order went through. This document also names, as a business decision rather than a technical detail, the moment the business should deliberately invest in handling a much larger burst of simultaneous demand faster than today’s approach can — before that burst actually happens, not after it causes a visible slowdown.

Business Objective

Give the business confidence that no matter how many customers reach for the same stock at the same moment, exactly one of them succeeds, every other one is told clearly and promptly rather than left waiting or confused, and checkout’s overall speed does not noticeably degrade just because demand for one item spiked. Give the business, separately, a clear point at which to decide — ahead of a known high-demand event, not reactively during one — whether to invest in a faster, fairer way of handling that spike.

Relationship to Checkout Completion and Transaction Coordination

This document does not restate BRD-013’s BR-02 (stock is set aside at order placement), BR-03 (stock is only permanently taken once the order succeeds), or BR-04 (nothing is left stuck when a step fails) — those already establish that reservation and permanent deduction are two separate, correctly-sequenced moments for a single order. This document sits one level up from that: it is about what must additionally hold when many customers hit that same reservation step for the same stock simultaneously, and about the business’s own choice of when to invest further in handling that scenario at a much larger scale. It also does not restate BRD-017’s guarantee that a multi-step order transaction survives failures and crashes without getting stuck — this document is specifically about contention between different orders over the same stock, not about one order’s own reliability.


2. Target Users & Stakeholders

  • Customers: Need to know, within a reasonable time, whether their order actually secured the stock it needs or not — never left uncertain, and never shown a success that quietly isn’t one because someone else’s order already took the last unit.
  • Finance & Operations: Need an absolute guarantee that the same unit of stock can never be claimed by two different orders, no matter how many orders arrive for it at once — this is non-negotiable, not a best-effort goal.
  • Marketing & Merchandising: Need confidence that a restock or flash-sale moment — exactly the scenario designed to draw a surge of simultaneous demand — won’t itself become the moment stock integrity breaks down or checkout becomes visibly slow for everyone, including customers shopping for unrelated items.
  • Engineering Leadership: Needs an explicit, business-owned decision point for when to invest in handling a much larger concurrent-demand spike than today’s approach is built for — so that investment is a planned choice made ahead of a known event, not a scramble made during one.

3. Scope of Work

In-Scope

  • Guaranteeing that when multiple orders compete for the same stock at the same time, exactly one outcome is correct per unit of stock — no unit is ever claimed by more than one order.
  • Telling a customer promptly and clearly when the stock they were trying to buy is no longer available because someone else’s order claimed it first — never a stalled request, a silent failure, or an ambiguous outcome.
  • Keeping checkout’s overall responsiveness stable even while a specific item is experiencing unusually high simultaneous demand, so contention over one popular item does not slow down checkout for customers buying something else entirely.
  • Naming the point at which the business should decide to invest in handling a much larger burst of simultaneous demand (a scale well beyond ordinary day-to-day contention) faster and more fairly than today’s approach — and what “handling it well” means from a customer’s perspective at that scale: a fast, clear answer and a fair, first-come-first-served order of who gets the stock.
  • Keeping a permanent, after-the-fact record of each reservation’s own lifecycle — that it was reserved, and separately, whatever became of it next — so that record survives past the moment the reservation’s outcome is known, rather than being overwritten by it.

Out-of-Scope

  • Setting stock aside at order placement and only permanently deducting it once the order succeeds — the sequencing itself is covered by BRD-013 BR-02/BR-03.
  • Releasing stock back for sale when a step after reservation fails — covered by BRD-013 BR-04.
  • A single order’s own resilience against failures, retries, and crash recovery as it moves through multiple steps — covered by BRD-017.
  • Actually building the faster, larger-scale concurrent-demand handling this document names as a future decision point — committing to and building that investment, once the business chooses to make it, is future scope and is not delivered by this document.
  • How a courier is chosen, how payment is collected, or how fulfillment is handed off — covered by BRD-013, BRD-015, and BRD-010 respectively.

4. High-Level Business Requirements

ID Business Goal / Feature Business Need & Impact Priority
BR-01 No Two Customers Ever Win the Same Unit of Stock When multiple orders compete for the same limited stock at the same moment, the business must guarantee exactly one of them succeeds — an oversold unit is a broken promise to a customer and a cost the business absorbs to fix. P0
BR-02 A Customer Who Loses the Race Is Told Clearly and Quickly A customer whose order couldn’t claim the stock it wanted — because someone else’s order got there first — must be told that plainly and promptly, not left on a stalled checkout screen or an ambiguous result. P0
BR-03 Checkout Stays Fast Even When One Item Is Under Heavy Simultaneous Demand Contention over one popular or limited item must not noticeably slow down checkout for customers buying something else — a spike in demand for one SKU is not allowed to become a platform-wide slowdown. P0
BR-04 The Business Deliberately Decides When to Invest in Handling a Much Larger Demand Spike Beyond ordinary day-to-day contention, the business must have an explicit, planned decision point for investing in faster, fairer handling of a much larger simultaneous-demand event (e.g. a scheduled flash sale) — made ahead of that event, with a clear view of what it would cost not to. P1
BR-05 When That Investment Is Made, Customers Are Served in the Order They Actually Arrived If and when the business does invest in handling a larger demand spike, customers competing for the same scarce stock must be resolved fairly — in the order they actually tried to buy, not effectively at random — so the outcome feels fair even to the customers who don’t get the stock. P1
BR-06 Every Reservation’s Full Lifecycle Stays on the Record, Even After It Ends Once stock is reserved for an order, the fact that it was reserved — and, separately, whatever happened to it afterward (released back for sale, or permanently taken) — must remain a permanent, investigable record rather than being overwritten the moment the reservation’s outcome is known. Customer support resolving “what happened to the stock on my order,” and Finance & Operations auditing a disputed or unusual order, both depend on being able to reconstruct that sequence after the fact — not just know the current state. P1

5. Success Metrics & KPIs

  1. Zero oversold units: no instance, under any level of concurrent demand observed in production, of the same unit of stock being successfully claimed by two different orders.
  2. Time-to-clarity for a losing order: a customer whose order couldn’t claim contested stock receives a definite “unavailable” outcome within the same time budget as a normal checkout response — never a stall or a timeout in place of an answer.
  3. Checkout latency stability under contention: checkout response times for customers not competing over the contended item stay within normal bounds while a specific SKU is experiencing a demand spike.
  4. Documented investment decision: a recorded business decision (see ADR-00035 and Technical Debt — TD-00013) exists stating what scale of simultaneous demand today’s approach is good for, and what would need to be built before a larger scheduled event could rely on it safely.
  5. Full reconstructability of a reservation’s history: for any order, the sequence of what happened to its reserved stock (reserved, then later released or permanently taken) can always be reconstructed after the fact, with nothing about an earlier step ever overwritten or lost once a later step occurs.