"Case Study: Notification Service"
A notification service (a system that other services call to tell a user something by push, email or text message) must handle sudden bursts, mixed urgency, and providers (outside companies that do the final delivery) that fail. A push is a pop-up message an app sends to a phone. This note builds one design from stated assumptions, not "the" answer. The central trade-off: retry enough to never lose a message, but not so much that users get repeats. After this note you can keep login codes fast during a campaign and explain retries and send ids.
Topics in this section
- Requirements and scope
- Numbers
- API and data
- The first design
- Bursts and priorities
- Not losing and not repeating
- Failures and scaling