System Design Patterns: From Fundamentals to Real Systems
Vote

0% completed

​

Capstone - Designing a Notification System

Several teams at the store send messages to people, and each team built its own sender. The product team wants one notification system that every team uses. Here is the brief it wrote, with the numbers the design must meet:

  • Order messages. On a normal day, the store takes 200 orders per second. Every order needs a receipt email within a few seconds, and later status messages like "Shipped".
  • Campaigns. The marketing team announces the next flash sale, which opens at 10:00 AM, to 5 million subscribers by email. Every email must go out before the sale opens.
  • **The in-app bell

.....

.....

.....

Like the course? Get enrolled and start learning!
Andrei Silchankau

Andrei Silchankau

· 6 days ago

I feel the current design documentation is incomplete because several key architectural details are only implied rather than explicitly stated. Starting from the beginning: we know that a marketing tool calls an API to start a campaign, and we know the schema of the corresponding event. However, it is unclear how this event is actually materialized and routed within the system. For example, is it published as a pub/sub event using database Change Data Capture (CDC) that a recipient queue worker subscribes to, some internal subscription in the notification service handles this event, or is another approach used? Furthermore, within the notification service, there must be an internal mechanism that joins data from external sources (like checkout) with campaign data to generate the list of em

Reading Progress

0%


Vote for new content