~/talk

Spark Performance Tuning and Troubleshooting

links:none on file
slides:none on file

Shows concrete fixes and measured wins: a UDF that makes an HTTPS call is slow because of connection-per-record and becomes fast when a single connection is reused per task cutting SSL handshake overhead (example drops from ~100s to ~20s). Demonstrates replacing repeated groupbys with one aggregation to shrink a DAG from 46 stages to 8 stages and drop runtime from ~20 minutes to ~3 minutes. Covers using Spark profiler, broadcast joins, native vs Python UDFs, partition-level mapping, determinism issues with sampling and adaptive execution.

AI-written summary · about

  1. 0:00Spark performance tuning
  2. 1:29Data skew in Spark jobs
  3. 2:34Optimizing UDFs with APIs
  4. 8:45Wide data with many columns
  5. 19:48Deterministic ML pipelines
  6. 29:49Spark optimization key points
  7. 30:59Q&A on UDFs
~/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.