~/talk

Taming Data Skew in Production ML Pipelines

Talkat Conf42 Machine Learning 2026 · on Thursday, 2026-02-19· [machine-learning, data-engineering]
slides:none on file

Roku production Spark pipelines suddenly stretch from under an hour to ~3 hours because 95% of tasks finish quickly while one executor processes ~10x the shuffle data, causing GC and spills. Practical fixes and measured wins: repartitioning (100–200 MB partitions, 2–3× cores) yields ~30% improvement, key salting splits a hot key so an 8 GB partition becomes 8 GB -> 600 MB and training time drops ~50%, and broadcast joins cut an enrichment from 90 min -> 10 min. An AI prototype now predicts skew from historical Spark metrics and recommends partition counts, salt factors, or broadcasts.

AI-written summary · about

  1. 0:00Intro: Handling Data Skew in Production ML Pipelines (Roku)
  2. 0:43Roku Scale & the Mystery of Suddenly Slower Spark Jobs
  3. 2:23How Skew Shows Up in Spark: Stragglers, Shuffle Spills, Idle Executors
  4. 4:22What Data Skew Really Is (and Why Parallelism Breaks)
  5. 5:39Real-World Example: Power Users, Hot Keys, and Power-Law Data
  6. 6:39Why It Matters: Technical Bottlenecks + Business Cost Blowups
  7. 8:54Where Skew Hits ML Pipelines: Recs, Classification, Computer Vision
  8. 10:14Root Causes of Skew #1: Natural Imbalance from Real-World Events
  9. 11:50Root Causes of Skew #2: Join-Key & Aggregation Skew in Feature Engineering
  10. 13:09Root Causes of Skew #3: Computational Skew (NLP, Embeddings, Heavy Transforms)
  11. 14:20Mitigation Step 1: Repartitioning—When It Works and Its Limits
  12. 17:04Mitigation Step 2: Key Salting to Split Hot Keys (Big Runtime Wins)
  13. 18:51Mitigation Step 3: Broadcast Joins to Avoid Massive Shuffles
  14. 21:28Wrap-Up: Choosing the Right Fix + AI to Predict Skew Before It Happens
  15. 23:29Closing & How to Connect
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.