Design push notification :
MediumCompany: Premium
GoogleAmazonUber
Let's design a push notification service. This service will be responsible for delivering notifications to various devices (e.g., iOS, Android, Web) using different push notification providers (e.g., APNs, FCM, WebPush). The key challenge lies in abstracting away the complexities of these different providers and offering a unified interface for sending notifications. We aim for a design that is extensible, allowing us to easily add new providers and notification types in the future. Our focus is on the core notification sending process and ensuring its reliability.
Requirements
Think like an Architect
Before revealing the requirements, imagine you're in the interview right now."How would you clarify the scope with your interviewer?"