Load Testing for 2022 Spotify Wrapped
Article Summary
Spotify handles 150M users hitting their servers simultaneously every December for Wrapped. Here's how they prepare for one of the biggest traffic spikes in consumer tech.
The Spotify engineering team shares their load testing strategy for the 2022 Wrapped campaign. When millions of users across 111 markets rush to see their personalized year-end data stories at launch, it creates a classic thundering herd problem that puts their entire infrastructure to the test.
Key Takeaways
- Built Moshpit: internal Backstage plugin for load testing across HTTP and gRPC
- Tested with employee IDs from multiple countries for diverse, realistic payloads
- Scaled to tens of thousands requests per second across U.S., EU, and Asia
- Coordinated upstream service scaling with metadata, translation, and image generation teams
- Monitored latency, packet drops, and autoscaling via Grafana during test sessions
Through systematic load testing with their internal Moshpit tool and careful coordination across teams and regions, Spotify successfully handled tens of millions of users in the first few hours of Wrapped 2022 launch.
Continue reading
This page summarizes “Load Testing for 2022 Spotify Wrapped” by Spotify, published Mar 31, 2023. All credit for the original work goes to the authors.