InterviewLegend

Design a Notification System

Signature problem
Alex Chen50 min readAdded 1,382 real interview reports

A notification system is the shared service that turns "something happened" into a toast in the corner of a Windows screen, a banner on a phone, an email or a text. A product service hands it a user and an event. The system works out which devices and addresses that user has, what they agreed to receive and how urgent the event is. Then it delivers, and retries when a provider fails.

At Microsoft this prompt mostly shows up in SDE II loops (L61 and L62), and sometimes at L60. Many of those loops are hiring drives with a separate high-level design (HLD) round and a separate low-level design (LLD) round. The notification system can land in either one. Some interviewers ask for both in one sitting. So this lesson builds the distributed design first and the class design at the end.

The Microsoft angle
The framing varies a lot between interviewers. Candidates report versions built around critical versus non-critical, push versus pull, or an LLD module with pluggable channels. Know the Windows Push Notification Service (WNS), which sits next to Apple's and Google's, and Azure Notification Hubs, which sends through all three. They explain how a toast reaches a sleeping laptop.

MicrosoftPremium lesson · System design round

The Microsoft design, worked end to end.

  1. The API and data modelSystem design · Signature problem
  2. The design, drawn out2 diagrams
  3. 5 deep divesWith the tradeoffs
Get the Microsoft questions

$49 a year · all 107 companies · instant access

1,382 Microsoft interview reports · guide updated

Microsoft interview guide

Know what Microsoft asks before you walk in.

21 coding · 9 system design · 24 behavioral questions

Get Premium$49 a year · Instant access
Or start freeNo card.

Get their questions first.

Had your Microsoft interview?How we research

InterviewLegend is independent and not affiliated with or endorsed by any company it covers.