Design Cross-Device Playback Position Sync for Continue Watching
Last updated: November 29, 2026
Quick Overview
Design the service that records where each profile stopped in every title and lets them resume on any device within seconds, while also powering the Continue Watching row on the homepage.
Netflix
November 29, 20260
0
0 solved
Design the service that records where each profile stopped in every title and lets them resume on any device within seconds, while also powering the Continue Watching row on the homepage.
Starting an episode on a TV and finishing it on a phone is a core Netflix experience, and the same data feeds the Continue Watching row. Interviewers look for a write-heavy design that tolerates out-of-order heartbeats, picks a sensible conflict rule, and separates the hot resume path from analytics consumers.
What the Interviewer Expects
- Estimate heartbeat write volume and size the store accordingly
- Choose a conflict rule for concurrent devices and out-of-order updates
- Separate the low-latency resume read from the homepage row build
- Pick a data model keyed by profile with per-title entries
- Explain behavior when a region or the store is degraded
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
- How would you handle a profile watching on two devices at once?
- How would you decide when a title is finished and should leave the row?
- How do offline downloads sync their positions back when the device reconnects?
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: record position per (profile, title, episode); resume on another device; list in-progress titles ordered by recency; remove a title from the row. Non-functional: resume read p99 under 50 m...
High-Level Design
Players send heartbeats (profile, title, episode, position, device_ts, session_id) to a Playback Events API at the edge region. The API writes to a regional bookmark store and publishes to a Kafka top...