HardDesign: Notification System
How do you implement 'quiet hours' — not sending notifications between 10pm and 8am in user's local time?
— Tests your understanding of this concept.
Answer Options
AUse UTC time and check globally
BStore user's timezone preference, convert send time to user's local time, check if within quiet hours window
CSend during server's business hours only
DOnly support one timezone globally
Want to see the correct answer?
Get the answer with a detailed explanation, plus practice 22+ more Design: Notification System questions with adaptive quizzes and timed interviews.
See the Answer on Guru Sishya →This question is from the Design: Notification System topic (System Design Cases).
More Design: Notification System Questions
What is the difference between FCM and APNS?
HardWhat happens when you try to send a push notification to an invalid/expired device token?
HardYour email notification service sends 2 million emails/day. SendGrid has a 4-hour outage. How do you handle this?
HardWhat legal requirement mandates that marketing emails include an unsubscribe link?
HardYou need to send a promotional notification to 50 million users at 9am in their local timezone. How do you architect this?
Hard