LESSON 01 · Requirements

Define the delivery promise

Name the channels, urgency, consent, and what “delivered” actually means.

SYSTEM VIEW

The delivery path

Diagram view
Send rate—
Proven—

Watch a digest turn a calm average into a burst, then follow one payment alert through each state it can reach.

  1. Push, email, SMS and in-app items differ in cost, reach and what providers confirm. A payment alert, which may be urgent, goes on to the Push service now; a weekly digest may wait at the Notification API. Record each one’s volume, peak and permitted delay.

    Payment alert
    may be urgent
    Weekly digest
    may wait

    What changed

    • Payment alert: may be urgent
    • Weekly digest: may wait
  2. Take 2 million users who each receive 3 notifications a day: 6 million a day. Divided by the 86,400 seconds in a day, that averages about 70 a second through the Notification API.

    Per day
    2M × 3 = 6 million
    Average
    6M ÷ 86,400 s: about 70/s

    What changed

    • 2 million users, 3 a day each
    • About 70 a second on average
  3. A digest sends half of those, 3 million, in 10 minutes. That is 3 million ÷ 600 seconds: 5,000 a second, against an average of about 70. Averages hide bursts, so record the peak as well as the daily volume.

    Digest
    3 million in 600 s
    Peak
    5,000/s

    What changed

    • Half the day’s sends in 10 minutes
    • 70/s → 5,000/s
  4. A digest may wait, so it can be spread over an hour instead: 3 million ÷ 3,600 seconds is about 830 a second. A category’s permitted delay decides how far its sends can spread.

    10 minutes
    5,000/s
    1 hour
    about 830/s

    What changed

    • Digest spread over 1 hour
    • 5,000/s → about 830/s
  5. Follow one payment alert. The Notification API accepts it: the first state, accepted by our service. Before any send, our service checks the user’s consent and that push is allowed; that check is part of the send decision, not a cleanup step.

    State 1
    accepted by us

    What changed

    • Accepted by our service
    • Consent and push checked
  6. The Notification API hands the alert to the Push service with the phone’s device token, the address a push service issues for one app on one device. That is the second state, handed to a provider; no answer has come back yet.

    State 2
    handed to provider

    What changed

    • Sent to the Push service
    • Phone’s device token attached
  7. The Push service sends back a successful response, and the Notification API records the third state: accepted by that provider. Each state is recorded on its own, because none of them proves the next.

    State 3
    provider accepted

    What changed

    • Success response
    • Recorded: provider accepted
  8. Apple’s push service can accept a message for a phone that stays switched off, so acceptance doesn’t prove display. Stays off: the alert is never shown. Turned on: it is shown and opened, a fourth state. The product decides which state each event promises.

    State 4
    opened or acted on

    What changed

    • Provider acceptance ≠ shown
    • State 4: opened or acted on
    The phone

Space plays · ← → step · Home resets

THE IDEA

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.

DECISION POINT

A product manager says “send every user a notification instantly” after a sale begins. What must be clarified first?

Write a sentence or two to unlock the guidance. Committing first is what makes it stick.

Keep in mind

  • Define delivery states separately; provider acceptance is not human receipt.
  • Classify urgency, consent, channels, and peak volume before selecting infrastructure.
CHECK YOUR UNDERSTANDING

Put it into practice.

1 OF 3
RecallQUESTION 01

What does a successful response from an email provider prove?

Choose an answer. You’ll see the explanation once you get it right.

Next lesson

0 of 3 checkpoints answered correctly to complete this lesson.