Spotify HLD: Streaming Audio That Starts Fast and Never Stalls
A Spotify system design: storing audio as a chunked bitrate ladder in object storage behind a CDN, adaptive bitrate selection from bandwidth and buffer, the metadata model, and play history at scale.
"Design Spotify." The catalog, playlists, and likes are a tidy CRUD app you could finish before lunch. The thing that makes it Spotify — and the thing an interviewer actually wants — is audio that starts the instant you hit play and never stutters, for hundreds of millions of listeners on every kind of network from fibre to a phone in a tunnel. That's not a database problem. It's a storage-and-delivery problem, and it has a beautiful, self-contained core: the bitrate ladder and adaptive streaming. The two facts that shape everything: audio files are large immutable blobs (so they live in objec…
What’s inside
Read this one free
Sign in and your first premium article is on us — read Spotify HLD: Streaming Audio That Starts Fast and Never Stalls free.