Whenever you're ready, walk me through how you'd approach this.
Design a flash sale that sells off 6M burgers in 10 minutes, making sure all burgers are sold.
Asked in the Architecture stage.
Explain how you would use demand prediction and real-time control to allocate inventory and adjust availability during the sale. Cover the serving architecture, data flow, capacity estimates, model choices, monitoring, and failure handling. Address how the system behaves when demand is uneven, predictions are wrong, services fail, or inventory data becomes inconsistent.