From Peer-to-Peer to CDNs: How Spotify Actually Streams Audio
Why Spotify's early client-side streaming relied on peer-to-peer delivery, and why it later moved entirely to server and CDN-based delivery instead.
Category
6 articles
Why Spotify's early client-side streaming relied on peer-to-peer delivery, and why it later moved entirely to server and CDN-based delivery instead.
How Spotify's event pipeline evolved from batch log collection off servers to a real-time, cloud-native Pub/Sub system serving hundreds of consuming teams.
How thousands of undiscoverable microservices inside Spotify led to Backstage, the developer portal it later open sourced through the CNCF.
How Spotify moved a music streaming service serving hundreds of millions of users off self-managed data centers and onto Google Cloud without a big-bang cutover.
How Spotify combines collaborative filtering, text analysis, and audio features in a weekly batch pipeline to power Discover Weekly for every user.
Why Spotify organized engineering around autonomous squads instead of functional teams, and what the model got right and wrong as the company scaled.