~/talk

Bringing the Jewels of the Python World to Scala with Spark

Talkat Lambda World Seattle 2018 · 2018-09-17..09-18· [data-science, python]
slides:none on file

Scala code calls Python NLP (spaCy/NLTK) inside Spark by flipping PySpark’s usual flow: JVM starts Python via Py4J and pipes, registers Python UDFs and ships work to Python workers. Initial pickling + sockets approach is slow; swapping to Apache Arrow reduces serialization overhead (vendor benchmark claims 242x, realistic gains ~50%). A prototype repo sparkling-ml exposes Python transformers to Scala, returns token arrays (maps not yet supported) and works at small scale but needs better failure/rescheduling for large distributed deep‑learning use.

AI-written summary · about

  1. 0:00Start
  2. 1:56What Pi Spark Is
  3. 3:50Pi Spark Is the Python Interface To Spark
  4. 14:18Word Count
  5. 18:28Json
  6. 22:06Sentiment Analysis
~/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.