Spotify

Large-Scale Generation of ML Podcast Previews at Spotify with Google Dataflow

Apr 1, 2023Diego Casabuena (ML Engineer, Spotify), Edgar Tanaka (ML Engineer, Spotify), Winstead Zhu (ML Engineer, Spotify), Reza Rokni (PM, Google Dataflow ML), and Danny McCormick (Senior Software Engineer, Google)
Large-Scale Generation of ML Podcast Previews at Spotify with Google Dataflow
SummaryAI, from the source post

This post details the technical evolution of Spotify's data processing capabilities by integrating the Podz ML pipeline for generating podcast previews. It describes the migration from a microservice architecture to a scalable, managed pipeline system using Google Dataflow and Apache Beam. Key technical contributions include: the use of custom containers for managing complex ML framework dependencies, optimizing for latency and cost by transitioning from batch to streaming processing with autoscaling, and leveraging the Klio library to achieve a 30x reduction in preview generation latency (from 111.7 minutes to 3.7 minutes). The post also covers the implementation of monitoring and observability for the streaming pipeline.

More from the Spotify Data Platform trail