Interview practice question
Order status updates arrive out of order
System Design · Messaging and Queues · Beginner
Your system processes order status events, and sometimes "shipped" is processed before "paid". How do you fix it?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Partition by order ID for ordering.
- Single consumer per partition.
- Or version/sequence numbers.
- Ignore older updates.
- State machine validation.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.