Interview practice question
Inventory events from many warehouses
System Design · Messaging and Queues · Experienced
Inventory updates come from 200 warehouses via events. Your central system shows wrong stock because events arrive out of order. How do you fix it?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Per-SKU-per-warehouse ordering via key.
- Sequence numbers from source.
- Store absolute quantities, not deltas, where possible.
- Ignore stale updates.
- Periodic full sync.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.