~/talk

Scala and the JVM as a Big Data Platform Lessons from Apache Spark

Talkat Scala Days Berlin 2016 · 2016-06-15..06-17· [scala]
slides:none on file

Scala-backed Apache Spark uses a Collections-like Scala API and evolves a set of pragmatic fixes for JVM limits: Tungsten builds custom data layouts, manual on- and off-heap memory management (via sun.misc.Unsafe), and aggressive code generation that moves from subexpression to whole-query bytecode, yielding up to ~10x improvements and making Python performance near Scala. Real problems documented include GC pauses (reports up to 10 hours), Java object bloat (48B vs 4B for small strings), and a REPL serialization trap hitting the 2GB array VM limit; compact row encoding and packed hash maps mitigate these.

AI-written summary · about

  1. 0:00Start
  2. 1:31A Distributed Computing Engine on the JVM
  3. 1:54Resilient Distributed Datasets
  4. 3:44Example: Inverted Index
  5. 7:35SQL/ Data Frames
  6. 37:17Scala REPL
  7. 39:39Lightbend is investigating re-engineering the REPL
  8. 40:57Spark Is Driving Scala Adoption
  9. 41:29Scala should adopt some Tungsten optimizations...
  10. 41:47could the JVM adopt Tungsten's object encoding?
  11. 41:58The JVM needs long indexing, value types & unsigned types
~/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.