Design Licensed Music Matching for Audio in Uploaded Reels
Last updated: November 29, 2026
Quick Overview
Design the system that fingerprints the audio of every uploaded Reel, matches it against a catalog of licensed and rights-managed music, and applies the rights holder's policy (allow, mute, block, or restrict by region) before or soon after publishing.
Meta
November 29, 20260
0
0 solved
Design the system that fingerprints the audio of every uploaded Reel, matches it against a catalog of licensed and rights-managed music, and applies the rights holder's policy (allow, mute, block, or restrict by region) before or soon after publishing.
Music licensing deals shape what creators can post on Instagram and Facebook, and enforcement must work at upload scale without blocking every upload on a slow check. The interviewer checks audio fingerprinting at a conceptual level, an index that supports partial and noisy matches, policy application, and dispute handling.
What the Interviewer Expects
- Describe robust audio fingerprinting at a high level
- Build a reference index that supports fast partial matches
- Decide sync-at-upload versus async checks
- Apply region-specific policies and partial-segment muting
- Handle disputes, false positives, and catalog updates
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 match a 15 second clip that is sped up and has voiceover?
- What happens when a rights holder adds a song after a Reel is already live?
- How do you avoid false matches on common short loops?
- How do you treat audio picked from Instagram's own music library?
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: fingerprint each upload's audio; find matches against reference tracks; apply policy per matched segment and region; notify the creator; allow disputes; rescan existing content when re...
High-Level Design
- Fingerprinter converts audio into a spectrogram and extracts landmark hashes: pairs of spectral peaks encoded as
(freq1, freq2, time_delta)with an anchor time. These survive noise and compres...