How it works
A notification can be a mobile push, email, SMS, or an in-app item. They differ in cost, reach, payload, and what their providers can confirm. Start with the events worth sending: a payment alert may be urgent, while a weekly digest may wait. Record daily volume, peak burst, permitted delay, devices, and markets.
Averages hide bursts. With an example 2 million users receiving 3 notifications a day, the average is about 70 per second (6 million ÷ 86,400). If a digest sends half of those in 10 minutes, the rate is 5,000 per second (3 million ÷ 600). A digest may wait, so spreading it over an hour cuts that to about 830 per second.
Use separate states for accepted by our service, handed to a provider, accepted by that provider, and opened or acted on by the person. A successful provider API response does not prove that a phone displayed a push or that an email was read: Apple’s push service can accept a message for a phone that stays switched off. The product should specify which promise matters for each event.
This design supports push, email, and SMS. Clients register device tokens, the addresses a push service issues for one app on one device; account settings store verified addresses and phone numbers. Transactional traffic, such as a receipt, and promotional traffic have distinct policies. User consent and channel eligibility are part of the send decision, not a cleanup step. Each channel adds a provider contract and a failure mode, so a small product can launch with fewer.
A product manager says “send every user a notification instantly” after a sale begins. What must be clarified first?
Ask which users consented, which channels are allowed, whether this is promotional, the expected burst size, the acceptable delay, and whether success means accepted by the provider or observed engagement. A sale alert can usually be paced or batched rather than promised instant delivery.
Use this as a guide for self review; written answers are not graded.Keep in mind
- Define delivery states separately; provider acceptance is not human receipt.
- Classify urgency, consent, channels, and peak volume before selecting infrastructure.