Use case for Notification Service

A common use case for a notification service is in an e-commerce platform. The system can send various types of notifications to users, including order confirmations, shipment updates, promotional offers, and abandoned cart reminders. Users can manage their notification preferences, such as choosing to receive notifications via email, SMS, or push notifications. The notification service ensures timely delivery of notifications based on user preferences and tracks user engagement metrics to improve the effectiveness of notifications.



Design Notification Services | System Design

If we are building an e-commerce application or a booking system or anything of that sort, we will always have a notification service that will be used to notify your consumers. Let us now look at the requirements to build a notification service.

Topics for Designing Notification Services

  • Requirements
  • Components
  • How does our system tackle if we want to send bulk notifications?
  • Scheduler
  • Pipelines
  • Batch Jobs
  • Use case for Notification Service

Similar Reads

Requirements

...

Components

There are some functional (FRs) and non-functional requirements (NFRs) that this platform should support....

How does our system tackle if we want to send bulk notifications?

The starting point of the whole system is a couple of clients i.e. Client 1, Client 2. There are 2-3 kinds of requests that they can send us. But all of those requests would come under a category called Notification service, which is an interface that allows us to talk to the other teams in the company, other companies, etc....

Use case for Notification Service

Let’s say for all the users who have ordered a TV in the last 24 hours, we have to send them a notification for installation service, these things are a part of something called as bulk notification. So the very first requirement for this would be a UI, which is represented as Bulk Notification UI (in the architecture above), which will talk to something called as Bulk Notification service, which takes a filter criteria. Filter criteria would be something like finding all the users who have placed a milk order in the last three days and sending them a notification....