Design a Notification / Event System
This is the design that shows up in the loop as "design real-time notifications in Salesforce" or "design a scalable notification system for millions of users." A Salesforce-shaped answer is not a push service that blasts a message and forgets it. It is a durable, ordered, replayable publish-subscribe log, multi-tenant from the first box. A producer publishes an event onto a channel, the bus appends it to that tenant's time-ordered log and stamps it with a position, and subscribers read forward from wherever they left off. The record-change variant, Change Data Capture, works the same way: a write to an Account turns into an event on a channel that other systems consume.
- 1 diagram
- 5 sections
- about 38 min
Premium lessonSalesforce interview guide
These took digging.
What candidates walked out with, from 20,000+ reports, forum threads behind logins and write-ups in Chinese. Then solved step by step.
100 companies. Checked every month.
Unlock all 100 companies$49 a year · less than $1 a week · Cancel anytime
Salesforce interview guideKnow what Salesforce asks before you walk in.
15 coding · 5 system design · 20 behavioral questions
Get their questions first.
InterviewLegend is independent and not affiliated with or endorsed by any company it covers.