Design Motion Clip Upload and Storage for Ring Doorbells
Last updated: November 29, 2026
Quick Overview
Design how Ring doorbells and cameras upload short motion-triggered video clips, make them viewable in the app within seconds, notify the owner, and retain them according to the owner's plan.
Amazon
November 29, 20260
0
0 solved
Design how Ring doorbells and cameras upload short motion-triggered video clips, make them viewable in the app within seconds, notify the owner, and retain them according to the owner's plan.
A media pipeline question in the style of Amazon devices teams, with constrained hardware, flaky home Wi-Fi and privacy expectations. Interviewers check the upload path from device to cloud, thumbnail and notification timing, and plan-based retention at very large scale.
What the Interviewer Expects
- Stream or chunk upload from the device as the clip records
- Generate a thumbnail early so the notification is fast and useful
- Store clips in object storage with metadata in a per-device index
- Enforce retention per subscription plan with lifecycle rules
- Encrypt clips and restrict access to authorized household users
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 do you keep the notification latency under 3 seconds when the clip is 30 seconds long?
- What happens when home Wi-Fi drops mid-clip?
- How would you implement end-to-end encryption, and what features would it break?
- How do you handle a storm of motion events from a camera facing a busy street?
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: on motion or doorbell press, the device records a clip (typically up to 60 seconds), uploads it, the owner gets a push notification with a thumbnail, and can play it in the app; histor...
High-Level Design
- Device keeps a pre-roll buffer, starts encoding on trigger, and uploads segments (for example 2 second fragments) over a persistent TLS connection to an ingest service.
- Ingest writes...