~/talk

Avoiding Spark Pitfalls at Scale

Talkat Scale By the Bay 2017 · 2017-11-16..11-18· [data-engineering]
name:Long Cao
links:none on file
slides:none on file

Production Spark on the Scala API focused on concrete fixes: data skew causes executors to OOM so split hot/cold keys and run a skew join by broadcasting the hot side and unioning results; increase broadcast timeout and tune spill thresholds to avoid memory deaths; prefer repartition over coalesce to avoid serializing huge upstream work; cache intermediate datasets to force evaluation and simplify planning; set parallelism ~2× cores (default 200); prefer select over map for column ops; consider frameless or Quilt for better catalyst optimization on large, multi‑billion row pipelines.

AI-written summary · about

  1. 0:00Introduction and speaker intro
  2. 2:23Talk overview and scope
  3. 3:25Understanding data skew basics
  4. 5:54Impact of data skew in production
  5. 7:17Solving skew with broadcast joins
  6. 8:45Spark execution engine quirks
  7. 10:10Partitioning and coalescing pitfalls
  8. 11:58Lazy API and query planning issues
  9. 13:02Configuration and tuning tips
  10. 14:27Spill thresholds and memory tuning
  11. 15:10Cluster health and monitoring
  12. 16:11Spark API performance tricks
  13. 17:35Serialization and lazy evaluation
  14. 18:21Alternative Spark APIs and projects
  15. 19:30Summary and closing remarks
~/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.