~/talk

Beyond Shuffling: Scaling Apache Spark

Talkat Scala Days Berlin 2016 · 2016-06-15..06-17· [data-visualization, databases]
slides:none on file

Shows concrete fixes and measurements: use reduceByKey or aggregateByKey instead of groupByKey to get map‑side reduction (example: shuffle read drops from ~48 KB to ~11 KB), prefer checkpoint then persist on noisy shared clusters to avoid recompute, avoid turning partition iterators into lists inside mapPartitions, and reuse shuffle files but trigger worker GC to clean them. Recommends DataFrames/Datasets for compact serialization and pushdowns, warns of lineage explosion for iterative algorithms and suggests an RDD round‑trip as a practical workaround; default 200 partitions often needs tuning.

AI-written summary · about

  1. 0:00Intro
  2. 2:02What is going to be covered
  3. 3:58The different pieces of Spark
  4. 10:15What is key skew and why do we care?
  5. 16:06Well there is a bit of magic in the shume....
  6. 18:36Iterator tortor transformations
  7. 22:21Why is Spark SQL good for those things?
  8. 23:54How much faster can it be?
  9. 25:42How to avoid lineage explosions
  10. 26:32Introducing Datasets
  11. 28:50And functional style maps
  12. 29:33Switching gears: Valdating Spark jobs
  13. 34:22Using an accumulator for validation
  14. 35:56Validating records read matches our expectations
  15. 37:22Additional Spark Testing Resources
  16. 37:36Additional Spark Resources
  17. 39:43Spark Videos
~/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.