~/talk

Supercharging Pipeline Efficiency with ML Performance Prediction

Talkat PyCon Israel 2022 · 2022-06-28..06-29· [machine-learning, data-engineering]
links:none on file
links:none on file
slides:none on file

Singular builds a pipeline that predicts task runtime and memory to split hundreds of thousands of daily Celery tasks into light and heavy queues (>90% light, ~10% heavy). It trains per-customer SVR models daily on S3/Athena data, serializes models to Redis, and has the Celery router score each task at enqueue time. Kubernetes HPA uses a moving-rollup metric from Datadog, plus VPA and cluster autoscaler, to scale short-task workers on AWS Spot instances, eliminating queue snowballing and OOM kills.

AI-written summary · about

  1. 0:00Introduction to pipeline challenges
  2. 2:56Problem of task duration imbalance
  3. 4:21Solution with ML performance prediction
  4. 9:38Productionizing the ML model
  5. 13:06Auto scaling with Kubernetes
  6. 17:18Cost optimization with spot instances
  7. 18:01Summary and future directions
  8. 19:29Q&A session
~/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.