Scio data processing nirvana at Spotify
summary
Scio is Spotify’s Scala API for Dataflow and after two years in production it replaces Crunch for most pipelines, handling >200 TB/day with ~3,000 jobs. A rewrite of user-key joins uses a predicted-active-user off-heap hash map (Sparky) plus selective shuffle joins, cutting cost by ~50%. Replacing Cryo with compile-time derivation via Magnolia and Beam coders yields about 25% faster jobs (60→45 minutes) and smaller serialized output.
AI-written summary · about
chapters (7)
- 0:00Introduction to Scio
- 1:39Spotify data operations
- 3:24Scio framework overview
- 7:48Pipeline optimization case
- 12:03Improvements in Scio 0.7
- 17:39Benchmarks and results
- 23:31Conclusion and resources
related talks
38mScaling Scala
36mData processing at Spotify - Why portability matters
04mNeville Li Interview
32mData-Shuffler: Bringing Order to The Galaxy (of Data Process)
39mComplex Data Transformations Made Easy
36mIn-memory data pipeline and warehouse at scale
54mData engineering & DataOps: Ask Me Anything
47mScala: The Unpredicted Lingua Franca for Data Science
