Notification Dispatcher

Start Timer

0:00:00

Upvote
0
Downvote
Save question
View comments

Let’s say you’re building a multi-channel notification service that sends Email, SMS, and Push, and needs to handle up to 10,000 notifications per second, support user preferences, retry logic, and template rendering. Your service has a Notification class calling EmailSender, SMSChannel, and PushChannel directly.

How would you structure the classes and interfaces so a new channel like WhatsApp can be added without rewriting the dispatcher?

Practice question: source unverified · 2026-07-01. Inspired by a submitted report; the interview account has not been verified.

.
.
.
.
.
Topic
Concurrent & Distributed Systems
Tags
N/A
Category
System Design
Position
Software Engineer
Difficulty
Hard
Success
N/A
Last asked
This question was asked on July 1, 2026
Companies
What did you think?


Comments

Loading comments