~/talk

From UDF to Broadcast Join and Back: The Story of a Spark Optimization

TalkinRussianat HighLoad++ 2024 · 2024-12-02..12-03· [data-engineering, machine-learning]
links:none on file
slides:none on file

A practical case study of optimizing a Spark job: starting from Python UDFs, the talk examines execution plans and performance pitfalls, then refactors the job into a Broadcast Join and back, showing step-by-step improvements and lessons about Scala vs PySpark and Python UDF performance.

AI-written summary · about

  1. 0:00Introduction
  2. 4:47Problem statement
  3. 12:46First Python UDF solution
  4. 18:40UDF performance issues
  5. 23:24Scala UDF solution
  6. 26:38Broadcast Join intermediate
  7. 30:31Math model error
  8. 32:19Final optimal solution
  9. 36:27Benchmark results and conclusions
  10. 38:34Q&A
~/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.