Design the Windows Push Notification Service for Billions of Devices

Last updated: November 29, 2026

Quick Overview

Design a push service like Windows Push Notification Services where app backends send toast, badge or raw notifications to a channel URI and the service delivers them to the right Windows device over a persistent connection.

Microsoft
System Design
Software Engineer
Microsoft
November 29, 2026
Software Engineer
Onsite
System Design
Medium

0

0

0 solved


Design a push service like Windows Push Notification Services where app backends send toast, badge or raw notifications to a channel URI and the service delivers them to the right Windows device over a persistent connection.

WNS is a real Microsoft platform, and this question tests holding hundreds of millions of persistent connections, routing a message to the right connection server, and handling offline devices. Interviewers check authentication of app backends and the notification lifecycle.

What the Interviewer Expects
  • Explains channel URIs that encode the device and app
  • Holds persistent connections on a connection tier and routes via a session directory
  • Authenticates app backends with tokens scoped to their app
  • Stores offline notifications with TTL and per-device caps
  • Applies rate limits per app and per channel
  • Reports delivery status to the sender
Key Topics to Cover
Persistent connections
Channel URIs
Session directory
Offline store
Per-app throttling
How to Approach This
  1. Start by clarifying functional and non-functional requirements with the interviewer.
  2. Estimate the scale: QPS, storage, bandwidth. This drives your design decisions.
  3. Draw a high-level architecture first, then deep dive into 1-2 critical components.
  4. Discuss trade-offs explicitly (e.g., consistency vs availability, SQL vs NoSQL).
  5. Address failure scenarios, monitoring, and how the system handles 10x traffic spikes.
Possible Follow-up Questions
  • How does the service know which connection server holds a given device?
  • A device is offline for two days. What does it receive when it comes back?
  • How do you prevent one app from sending 10,000 notifications per minute to a user?
Sharpen Your Skills on Codemia

Practice similar problems with our interactive workspace, get AI feedback, and track your progress.

Practice System Design Problems
Sample Answer
Requirements

Hundreds of millions of concurrently connected devices. Apps request a channel URI on the device, send it to their backend, and the backend POSTs a notification to that URI. Delivery to online devices...

High-Level Design

Device side: a single OS-level client keeps one TLS connection to a connection server for all apps, with keep-alive tuned for battery. Channel service issues channel URIs `https://.../chan...


Submit Your Answer
Markdown supported