Loading page…
Stock as two counters per warehouse, reservations that expire on the caller's clock, an allocation strategy across warehouses, an order state machine as a table, a payment that can arrive too late, and shipping in parts when the shelf falls short.
Two shoppers add the last unit of a kettle to the basket, at the same moment.