~/talk

Internals of Speeding up PySpark with Arrow

Talkat DataXDay 2020 · 2020-06-02..06-10· [python, data-visualization]
slides:none on file

Explains exactly what changes: PySpark uses Apache Arrow record batches to avoid pickling, enabling record batches / zero-copy conversion between JVM and Python and switching Python UDFs from slow pickled rows to fast columnar execution. Presents numbers from benchmarks — typical 10–70× speedups — shows the config flip that enables it, describes the Python worker model (one worker per executor process), and demos groupby/pandas-UDF examples plus links to slides and code.

AI-written summary · about

  1. 0:00Start
  2. 5:09HOW DOES PANDAS MANAGE COLUMNAR DATA?
  3. 7:55HOW DOES ARROW MANAGE COLUMNAR DATA?
  4. 11:30HOW DOES SPARK WORK?
  5. 12:22AND A DISTRIBUTED STORAGE
  6. 12:56THE DRIVER REQUESTS RESOURCES FROM THE CLUSTER MANAGER TO RUN TASKS
  7. 19:43PYSPARK OFFERS A PYTHON API TO THE SCALA CORE OF SPARK
  8. 28:12YES, FOR SPARK DATAFRAME
  9. 31:30QUICK EXAMPLES
  10. 38:48QUESTIONS?
~/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.