Design Cross-Device Notification Dismissal Sync for Android and Chrome
Last updated: November 29, 2026
Quick Overview
Design a system so that when a user dismisses or reads a Google notification (for example a Gmail or Calendar alert) on one device, the same notification disappears from their other phones, tablets and Chrome browsers.
0
0
0 solved
Design a system so that when a user dismisses or reads a Google notification (for example a Gmail or Calendar alert) on one device, the same notification disappears from their other phones, tablets and Chrome browsers.
Google users often have several signed-in devices, and seeing the same alert on all of them is a known annoyance. Interviewers use this to probe state synchronization over unreliable mobile networks, ordering, and keeping traffic low enough not to drain batteries.
What the Interviewer Expects
- Model notification state per user with a clear identity across devices
- Propagate dismiss events through a push channel with low battery cost
- Handle offline devices that come back later
- Resolve races such as a new update arriving after a dismiss
- Keep the design independent of each sending product
Key Topics to Cover
How to Approach This
- Start by clarifying functional and non-functional requirements with the interviewer.
- Estimate the scale: QPS, storage, bandwidth. This drives your design decisions.
- Draw a high-level architecture first, then deep dive into 1-2 critical components.
- Discuss trade-offs explicitly (e.g., consistency vs availability, SQL vs NoSQL).
- Address failure scenarios, monitoring, and how the system handles 10x traffic spikes.
Possible Follow-up Questions
- What if a notification is updated (new email in the thread) after it was dismissed elsewhere?
- How do you avoid waking every device for every dismiss?
- How long do you retain dismissal state?
- How would you measure whether this improved user experience?
Sharpen Your Skills on Codemia
Practice similar problems with our interactive workspace, get AI feedback, and track your progress.
Practice System Design ProblemsSample Answer
Requirements
Functional: each notification has a stable id shared across devices; dismissing, opening, or acting on it anywhere marks it dismissed everywhere within seconds; a later genuine update can re-show ...
High-Level Design
- Notification id: the sender (Gmail, Calendar) assigns
(app, user, logical_key), for example the thread id, plus a monotonically increasingversionfor each update. - **Notification state ser...