System Design
Intermediate
Design a Notification Platform
Build transactional and marketing notifications with preferences, templates, retries, and provider failover.
35 min
3 sections
notifications
email
push
1
2
3
01. Separate intent from delivery
Section 1 of 3
A product event says what happened. Notification orchestration decides whether to notify, which channel to use, which template applies, and when to deliver. Delivery workers handle provider-specific mechanics.
text
OrderShipped event
-> notification rules
-> preference check
-> template rendering
-> channel selection
-> delivery queue
-> email provider / push provider / SMS provider
-> delivery status eventsBack to Course