// TOPIC
#inventory
4 articles
◆◆◆AdvancedAmazonShopify
01Design a Shopping Cart & Checkout System
Keep a cart consistent across devices, then check out without overselling or double-charging. The available-cart vs consistent-checkout split, inventory holds, and the order saga.
#interview#e-commerce#consistency
20 min◆◆◆AdvancedAmazonBooking
02Design Ticketmaster (seat booking / reservations)
Sell limited inventory to a stampede of buyers without double-booking a seat. Reservation holds, a conditional-update concurrency guard, and the read-vs-write consistency split.
#interview#concurrency#inventory
21 min◆◆◆AdvancedAirbnbBooking
03Design a Hotel / Airbnb Booking System
Search available listings and book date ranges without double-booking. Availability as a range problem, reservation holds, and the search vs transaction split.
#interview#inventory#consistency
21 min◆◆◆AdvancedAmazonAlibaba
04Design a Flash Sale / Seckill System
Sell limited stock to a massive, spiky crowd without overselling. Atomic inventory decrement, request shedding, queues, and graceful degradation.
#interview#concurrency#inventory
22 min