Back to problems

Design a Grocery-Ordering Backend with Reliable Inventory Reservations

System Design · Instacart · Medium

Design the backend inventory component of a basic grocery-ordering platform. The required scope covers how catalog products and per-store stock are modeled, how an order obtains or reserves inventory, and how the system stays correct when many purchases target the same item simultaneously or when a later step fails. Omit all frontend concerns. Several dimensions are intentionally left open: number of physical stores, catalog size, request volume, required inventory…

Checking your access…