Spotify System Design Interview Questions

Spotify system design rounds ask you to design parts of a music service. The most common question is some version of "design Spotify". After that come recommendations, search, and playback across devices.

Spotify serves a very large audio catalog in many countries. Almost every screen is personalized. Your answer should show that you know this shape.

The Questions Candidates Report

Spotify does not publish a question list. Candidates report the questions below. Each one maps to a system Spotify really runs.

QuestionWhat it tests
Design a music streaming serviceAudio delivery, caching, catalog, licensing rules
Design the recommendation home feedOffline training, online serving, ranking
Design playlist storage and sharingWrite patterns, ordering, share links
Design search over songs and artistsIndexing, typos, ranking
Design playback across devicesSession state, device handoff, low latency
Design the play and skip event pipelineIngest, ordering, correct counting
Design podcast hosting and ad insertionLarge files, transcoding, ad stitching
Design the yearly listening summaryBatch aggregation over very large logs

Spotify Systems You Can Name

Spotify engineers have described several of these systems in public talks and blog posts. Naming them shows real interest.

  • Audio delivery. A track is encoded once, cached close to listeners, then sent in small pieces.
  • Event delivery. Spotify has written about the pipeline that carries play events into storage for analytics. It has publicly described running that pipeline on Google Cloud Pub/Sub and Dataflow.
  • Recommendations. Spotify has published work on personalized playlists and on ranking models for the home page.
  • Similarity search. Spotify open sourced Annoy, a library for approximate nearest neighbor lookup.
  • Developer portal. Spotify open sourced Backstage, the portal its own teams use to manage services.

How to Answer "Design Spotify"

Use the same order every time. It keeps a 45 minute round under control.

  1. Agree on scope. Play a track, browse a catalog, build playlists. Say what you are leaving out.
  2. Write the read and write paths. Reads are huge. Writes are small and rare.
  3. Size it with your own numbers. Spotify publishes user and catalog figures in its investor reports. Do not quote a figure you are unsure of. State an assumption and say it is an assumption.
  4. Design audio delivery first. Encode once into a few bitrates. Store the files in object storage. Cache them at the edge. Stream in small pieces so seeking is cheap.
  5. Split metadata from media. Track, album and artist records are small and read constantly. Put them behind a cache.
  6. Add the event pipeline. Every play, skip and like becomes an event. Send it to a queue, then to a stream job, then to a warehouse.
  7. Close with failure cases. A dead cache region, a slow database, a duplicate event.

Recommendations, the Part People Skip

Most candidates design streaming well and then rush recommendations. Spotify cares about both.

Split the work in two. An offline job trains models and writes candidate lists for each user. An online service reads those lists and ranks them at request time.

Keep the online path fast. It should read precomputed data, not train anything.

Say how you refresh. A weekly personalized playlist can be a batch job. A home page that reacts to the last song needs a fresh signal.

Mistakes That Cost Points

  • Designing a video service. Audio files are far smaller than video. Do not copy a Netflix answer.
  • Ignoring licensing. A track may be playable in one country and blocked in another. Rights checks belong in the catalog layer.
  • Counting plays with one database counter. Millions of writes per second need a stream job, not a row update.
  • Forgetting offline mode. Downloaded tracks need encrypted local storage and a later sync.
  • Skipping the skip. Skips are the strongest feedback signal Spotify has. Show where they land.

How to Prepare

TAGS
System Design Interview
CONTRIBUTOR
Arslan Ahmad
Arslan Ahmad
ex-FAANG engineering manager and author or Grokking series.

GET YOUR FREE

Coding Questions Catalog

Design Gurus Newsletter - Latest from our Blog
Boost your coding skills with our essential coding questions catalog.
Take a step towards a better tech career now!
Explore Answers
Which country uses Amazon the most?
What's your career goal?
What is the difference between "let" and "var"?
What is OAuth?
What is OAuth?
What is the Salesforce interview process?
How to understand data partitioning and sharding for interviews?
Related Courses
New
Grokking the AI System Design Interview course cover
Grokking the AI System Design Interview
Learn to design AI systems the way interviewers expect: classic ML products, LLM and RAG architectures, and agentic systems, all through the lens of the system design interview.
4.6
(3,192 learners)
Discounted price for Your Region

$99

Grokking the Coding Interview: Patterns for Coding Questions course cover
Grokking the Coding Interview: Patterns for Coding Questions
The 24 essential patterns behind every coding interview question. Available in Java, Python, JavaScript, C++, C#, and Go. The most comprehensive coding interview course with 543 lessons. A smarter alternative to grinding LeetCode.
4.6
Discounted price for Your Region

$197

Grokking Modern AI Fundamentals course cover
Grokking Modern AI Fundamentals
Master the fundamentals of AI today to lead the tech revolution of tomorrow.
4.1
Discounted price for Your Region

$72

Design Gurus logo
One-Stop Portal For Tech Interviews.
Copyright © 2026 Design Gurus, LLC. All rights reserved.