Backend Fundamentals · Work outside the request
Notifications
A notification service turns events into emails, texts and pushes. It applies preferences, batches, renders and sends through queues, and because delivery is best-effort, it dedupes and cleans up.
- Time22 min
- LevelDeveloper
- Experiments1 live
- Check6 questions






Comments service saves the comment and publishes comment.created to the queue.
Recipients the notification service finds the post's author, user 42.
Rules user 42 wants push for comments; it is 14:00 in their time zone.
Template renders "Asha commented on your post" in user 42's language.
Push worker sends to both of user 42's devices and handles each answer.
Events features publish what happened, not who to tell.
Channel queues separate lanes by channel and priority.
Providers email, SMS, APNs, FCM and browser push services.
Feedback bounces, dead tokens and delivery reports flow back.