Skip to content

Design a Notification System/Playground

Notifications across email, push and in-app

Click a part to change it, put something in front of it, or kill it. Turn the traffic up. Every number moves as you go; nothing is graded. 2 million events a day become about 8 million notifications, with work-hour peaks near 10×; the email provider takes 500 a second.

Running
Traffic
SERVICEProduct servicesLOG / STREAMEvent streamWORKERNotificationplannerDATABASENotifications DBQUEUEDelivery queuesWORKERChannel sendersEXTERNALEmail providerEXTERNALPush servicesSERVICEInbox APICLIENTWeb andmobile apps
Requests failing
0%
Backlog growing
none
Instances running
308

What goes through it

OperationOfferedOutcomeWaitUp
Product events230/sAll served3 ms99.990%
Emailsbackground370/sKeeping up––
Push notificationsbackground560/sKeeping up––
Inbox reads2,000/sAll served35 ms99.95%

Wait is the expected time a caller waits; Up is the share of time every part it waits on is running.

What your changes did

Nothing yet. This is the reference design: change something to see what it buys and costs.

At this traffic

Ask AI what your design does

AI

The numbers above come from a simple model. The AI reads your design, what you changed and these numbers, and explains where it holds and where it fails, citing how the engineers who built it did it. It can be wrong.