Back to All 30 System Design Questions
HLDHardQuestion 9 of 30
Design a High-Concurrency Flash Sale & Inventory Reservation System
Design an ultra-high concurrency flash sale and inventory reservation system capable of preventing inventory overselling under millions of concurrent checkout requests with automated lock expirations.
Asked by:AmazonFlipkartWalmartShopify
#Distributed Systems#Concurrency#Inventory#Redis#Idempotency#ACID
System Architecture Topology
Compiling architecture diagram...
Flash Sale System
Executes atomic stock checks and decrements inside a single Redis Lua script to guarantee zero overselling at 100,000 QPS, backed by delayed queues that automatically recycle abandoned cart holds.