This question evaluates a candidate's competency in designing inventory and distributed systems, covering stock tracking models, reservation and commit semantics, concurrency control, data modeling, API design, and real-time integrations.
You are designing an inventory management service for a retail/marketplace platform with multiple merchants and locations (stores, dark stores, warehouses). Inventory must stay accurate across web/app ordering and in-store sales, with real-time updates to shoppers and partner systems. Assume high read volume (availability checks) and moderate write volume (stock changes, orders).
Design an inventory management system that supports:
State any assumptions you make and justify trade-offs where relevant.
Login required