Design Collaborative Playlist Editing for YouTube Music
Last updated: November 29, 2026
Quick Overview
Design collaborative playlists in YouTube Music where invited friends can add, remove and reorder songs, with changes showing up for everyone quickly and the playlist playable offline.
0
0
0 solved
Design collaborative playlists in YouTube Music where invited friends can add, remove and reorder songs, with changes showing up for everyone quickly and the playlist playable offline.
This is a light collaboration design question at Google that checks list ordering under concurrent edits, permissions via invite links, and offline caching. A strong answer keeps the system simple because the concurrency rate is low, while still handling reorder conflicts correctly.
What the Interviewer Expects
- Model playlist and entries with stable entry ids
- Use an ordering scheme that tolerates concurrent inserts and moves
- Support invite links with roles
- Sync clients with change cursors and push tickles
- Handle offline downloads when entries change
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 happens if two people move the same song at the same time?
- How do you handle a song becoming unavailable in a region?
- How would you show who added each song?
- How do you prevent a collaborator from deleting everything?
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: owner creates playlist, shares an invite link; collaborators add, remove and reorder; everyone sees attribution (who added); offline downloads stay in sync.
Non-functional: change...
High-Level Design
- Playlist table:
(playlist_id, owner, title, version). - Entries table:
(playlist_id, entry_id, video_id, sort_key, added_by, added_at, deleted). - Collaborators table: `(playlist_id,...