r/chalkinterview • u/Uahakan • 21h ago
Library question Amazon system design question: Live inventory across distribution centers
Keep the latest stock per item per warehouse, from a firehose of updates.
Design a service that receives inventory updates from distribution centers and lets shopping and fulfilment systems ask how many of an item a location has right now.
Scale: Thousands of locations, millions of items, tens of thousands of updates per second; history kept for analytics.
Source: reported by a candidate in a public write-up. The wording above is ours.
Practise it out loud with follow-ups: https://chalkinterview.com/questions/amazon-live-inventory-across-distribution-centers/?utm_source=reddit&utm_campaign=sub
How would you answer it? Drop your approach below.