Spotify Mar 31, 2023

Load Testing for 2022 Spotify Wrapped

Article Summary

Spotify Wrapped serves 150M+ users in a single morning. How do you load test for that kind of thundering herd?

Spotify's engineering team shares their battle-tested approach to preparing backend infrastructure for one of the year's biggest traffic spikes. They built an internal load testing tool called Moshpit to simulate tens of millions of concurrent users hitting their systems.

Key Takeaways

Critical Insight

Thorough load testing with realistic payloads and cross-team coordination enabled Spotify to handle millions of simultaneous Wrapped users without breaking.

The article reveals a clever workaround they used with employee flags to simulate real production caching behavior during tests.

Recent from Spotify

Related Articles