Back to problems

Design Inventory Availability and Order Placement

System Design · Citadel · Medium

Design the inventory and order-reservation component of an online retail platform. The component exposes two main capabilities: reading the current sellable quantity of a product SKU, and reserving units for an order. It must be impossible for a reservation request to consume more units than are sellable, even under concurrent traffic to the same SKU. Assume the following: Inventory is kept per product SKU for one logical fulfillment location. Every placement request…

Checking your access…