Interview practice question
Back-in-stock alerts
System Design · Design: Commerce and Media · Experienced
Thousands of users subscribe to back-in-stock alerts for a popular product. When 500 units arrive, how do you notify fairly without causing a crash?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Subscriptions indexed by product.
- Notify in batches, not all at once.
- Fairness: order by subscription time or random.
- Throttle to match stock.
- Waiting room / reservation link.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.