Design Notification Preferences and Quiet Hours Enforcement for Facebook

Last updated: November 29, 2026

Quick Overview

Design the settings system that lets users choose which notification types they receive on which channels, plus quiet hours, and that every notification sender must check before delivery.

Meta
System Design
Software Engineer
Meta
November 29, 2026
Software Engineer
Phone Screen
System Design
Easy

0

0

0 solved


Design the settings system that lets users choose which notification types they receive on which channels, plus quiet hours, and that every notification sender must check before delivery.

Meta has dozens of teams generating notifications, so a central preference check is infrastructure every product relies on. The interviewer checks for a clean data model, a fast read path, and sensible defaults when settings are missing.

What the Interviewer Expects
  • Model preferences hierarchically with defaults
  • Provide a single low-latency check API for all senders
  • Handle time zones for quiet hours correctly
  • Decide what happens to a notification held by quiet hours
  • Version the settings so new types get defaults
Key Topics to Cover
Data modeling
Defaults
Caching
Time zones
Policy check
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 do you roll out a new notification type with a default?
  • Should quiet hours delay or drop notifications?
  • How do you keep the check fast for a 1M per second send rate?
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

Functional: per user, per notification category (comments, tags, birthdays, Live) and per channel (push, email, SMS, in-app), on or off; global pause; quiet hours with a time zone; senders call `s...

High-Level Design
  • Preference store: sparse rows (user_id) -> {overrides map, quiet_hours, tz, paused_until}. Only non-default values are stored.
  • Type registry: config checked into code describing each typ...

Submit Your Answer
Markdown supported