Meta: Notify a million users at the start of a flash sale
Problem. Design a notification system that has to alert roughly one million users when a flash sale goes live.
What the interviewer focused on. The discussion centered on fan-out, meaning how a single sale event turns into a million individual notifications, and on how the queues in the middle are handled so the burst does not overwhelm downstream services. The candidate received a hire rating for this round.
Context. This was the design round of an E5 loop. The phone screen had a variation of the palindrome-after-one-deletion problem and a kth-largest-element question where quickselect was expected; both were finished in about 35 minutes. The onsite coding rounds asked a grid shortest-path problem in the style of eliminating obstacles, where the interviewer added a constraint the candidate had not seen before, and merging k sorted lists followed by detailed questions on heap memory. The post does not give expected scale numbers beyond the one million users, so clarifying throughput and delivery guarantees is left to the candidate.
Comments 0
No comments yet. Ask the author something, or add what happened in your own round.