Menu

Notification Service, Part 8: Delivery Status and Observability
📰

Notification Service, Part 8: Delivery Status and Observability

DEV Community: backend·Surhid Amatya·7 days ago
#SojZfCBy
#devtobackend#devto#dev#push#delivery
Long article (469 words) — no AI summary yet.
Reading 0:00
15s threshold

A notification service only helps if you can tell whether it's working. Support needs to answer "did this user get the message?", and engineers want to see failures before customers report them. This last post covers what the service records and exposes.

Delivery status per notification

Every stored in-app notification has a delivery status that follows the push attempt:

PENDING : stored, dispatch not finished yet.

SENT : the push call to Firebase completed.

FAILED : the push call failed, or the circuit breaker was open.

SKIPPED : nothing to send, for example because the event had no device tokens.

Two limits are worth knowing. SENT means the provider accepted the message. It doesn't mean the device showed it. And the status tracks the push attempt, since the in-app record is what gets stored.

The status update runs asynchronously, so recording it never holds up the next event.

Read state

Separately from delivery, each notification is either UNREAD or READ .…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.