Allemansrätten Analytics

The Evolution of Spotify's Data Teams

It’s like having the most awesome amusement park . . . but not really having a map . . . it’s amazing what we’ve been able to do without that guidance system.”

Laura Lake, Senior Director of Personalization, Spotify

Sense of Responsibility

Allemansrätten—the Swedish right to public access—allows individuals to roam freely in that country, even on private land. While this law invites people to enjoy nature, it emphasizes responsibility: visitors must not disturb wildlife or damage property. This concept of balanced freedom inspired Spotify's founding philosophy. When Daniel Ek founded Spotify, he had witnessed the chaotic rise of music file-sharing services like Napster and the resulting industry turmoil. Coming from a musical family, he believed in the twin values of music education and being a good person. According to his (single) mother, echoing his culture’s sense of responsibility, “everything else is: show effort.”

The music business proved to be the perfect outlet for Ek’s effort. The early 2000s saw the industry in crisis as file-sharing platforms like Napster and LimeWire enabled widespread music piracy, causing record labels to lose billions in revenue and struggle to adapt to digital distribution. Ek launched Spotify in 2008 with a radical proposition: offer instant, legal access to a vast music library through streaming rather than ownership. That both addressed consumers' desire for convenient digital access and the industry's need for a sustainable business model. The company’s success hinged on its ability to secure licensing deals with major labels while at the same time delivering a seamless listening experience that could compete with piracy. Erik Bernhardsson, who Ek first hired as an intern in 2009, helped make this concept a reality. He recognized the company's key initial innovation wasn't its recommendation algorithms or data science: "Spotify's key differentiator back then was the low-latency playback . . . people would say that it felt like they had the music on their own hard drive."

Foundations Over Flash

Just as Allemansrätten influenced Spotify's mission, it shaped the company's organizational design. Bernhardsson quickly rose from intern to founder of Spotify's first data teams. His initial group of four prioritized fundamentals over advanced machine learning for music recommendations. "There weren't really best practices... But we did what we could with the tools we had," Bernhardsson recalled. They faced challenges to be certain. The team utilized “awful” tools like Hadoop for queries that could take hours while their centralized structure created bottlenecks in decision-making.

These constraints influenced Bernhardsson's hiring philosophy. "Early on you need full-stack people as much as possible because you don't know what you're going to need day-to-day, and you're going to need people who are flexible, who can jump around." This approach enabled the team to focus on crucial business problems, such as optimizing the platform's music streaming functionality, rather than immediately diving into machine learning optimization. He jokingly meme-ified this philosophy with a spin on Al Pacino’s “Scarface.”

Erik Bernhardsson: the Scarface of music industry data

The Spotify Model

Spotify developed a unique implementation of the Agile framework to minimize bottlenecks. While Agile methodology emphasizes iterative development by cross-functional, self-organizing teams with end-to-end responsibility. Spotify expanded on this foundation. Henrik Kniberg, an Agile Coach at the company in the early 2010s, designed what became known as the "Spotify Model." Instead of traditional hierarchical teams, the technical teams of the company organized into:

  • Squads: 6-12 people with diverse skills focusing on specific feature areas

  • Tribes: 40-150 people comprising multiple squads working on related features

  • Guilds: Communities sharing knowledge about specific topics

Thanks to the culture of responsibility, this autonomous structure proved effective as the company’s data teams grew into the hundreds. At the same time, the Spotify Model presented some challenges. Laura Lake, Senior Director of Personalization, notes: "At Spotify we're a very autonomous organization and that has huge benefits, [but] you'll find different teams trying to solve the same problem in slightly different ways." Lake's leadership helped manage this complexity when Spotify grew to handle half a trillion user "events" daily.

Evolution of Personalization

Spotify's approach to music recommendations evolved significantly. Oskar Stal, head of Personalization, reflects: "In the beginning, it wasn't clear that machine learning was something of interest to Spotify. When Spotify was launched in 2008, it was mostly about access to music... Today, matching content and users is at the core of Spotify."

The breakthrough came with Discover Weekly, which began as a hack week project. Initially overlooked by leadership, the playlist gained momentum as employees discovered and embraced it. This led to Spotify's "algotorial" approach—combining editorial expertise with machine learning to create personalized experiences. Later features like Wrapped would further exemplify this philosophy.

Product Insights

One of Spotify's most innovative data strategies emerged through its Product Insights team. Peter Gilks, head of advertising insights, explains their distinctive approach: "At Spotify we have two important and differentiating approaches to how we approach insights for product development; our Data Scientists and User Researchers form a single discipline that we call Product Insights and Product Insights is not a centralized function. Our insights teams are embedded with product teams so that we can work alongside product managers, designers, and engineers seamlessly."

This embedded "tribe" employs a mixed-methods approach they call "simultaneous triangulation," combining qualitative and quantitative insights to explain both sides of user behavior. Using the “What-Why Framework,” Insights blends complementary research approaches to tell a story about how users behave on Spotify. Their emphasis on storytelling to present insights enhances empathy and understanding across the enterprise. With over 100 team members embedded within various product teams, Product Insights enables deep collaboration with product managers, designers, and engineers.

An Insightful Approach

Sara Belt, the head of Creator Insights, emphasizes their commitment to diversity and integration in the Medium post she shared with Gilks: "We believe in mixed methods and diverse teams. Not only have we taken the step to merge our data science and user research teams into one... we are investing in heterogeneity within the insights disciplines as well as literacy and collaboration across them." This approach eliminates blind spots and caveats that often emerge in siloed insights teams. The integration of multiple perspectives and methodologies allows Insights to drive evidence-based decision-making while maintaining flexibility and creativity in its research practices. As a result, for example, the team enabled a better advertising experience for users on the free tier.

Evolving Still

Spotify's data teams continue to evolve. Many, including Erik Bernhardsson, have noted the company’s renewed focus on analytics engineering. For example, it has open sourced its scheduling tool Luigi,its nearest-neighbors model Voyager, a developer portal called Backstage.

Of course, Spotify is not a panacea for the music industry, but it has helped elevate artist and label revenues to levels comparable to those of the 1990’s. Spotify itself doesn’t even use the Spotify Model as much today. And it has made cutbacks like other tech giants. But it has bucked the return-to-office trend. Thanks to its autonomous work-style and the sense of responsibility in its mission, Spotify has embraced a work-from-anywhere policy.

Through it all, Spotify's data teams remain focused on generating value. As Laura Lake observes, "It's very rare that you get the data and you get the culture and the willingness to do something about it. It takes a while to get everybody joined up and get everyone in the same room and making that stuff happen but ultimately [Spotify] did and that's a very rare quality."

A Murmuration of Starlings

A flock of hundreds of Starlings, flying through the air, creating complex, fluid patterns in a decentralized wave. Each bird follows simple rules but demonstrates complex, emergent behavior. Cohesive yet autonomous, they swoop, dive, swirl—and evolve like a single organism.

 

Reply

or to participate.