~/talk

High performance Scala systems without tears

Talkat Scala Days Berlin 2018 · 2018-05-14..05-17· [scala]
links:none on file
slides:none on file

Shows concrete wins: replacing Option-based extractors with name-based extractors removes per-match Some allocations (heap snapshot shows no Some objects), reduces GC work and raises throughput versus the Option baseline (baseline example ~13M ops/s for a synchronized variant). Uses SBT JMH, Java Object Layout and Intel VTune/pcm to measure L2 misses and IPC. Replaces locks with atomics and lazySet to cut fences, pads fields to avoid false sharing, and deploys an affinity pool in Akka to improve cache locality.

AI-written summary · about

  1. 0:00Start
  2. 1:42Excessive Object Instantiation
  3. 2:08Non Determinism
  4. 6:43Bytecode
  5. 8:51Heap Histogram
  6. 11:09Memory Access Patterns
  7. 13:16The Matrix Transposition Problem
  8. 19:56Cache Oblivious Algorithms
  9. 22:21Synchronization
  10. 31:42False Sharing
  11. 36:04Explicit Padding
  12. 36:36Concurrent Libraries
  13. 39:08Use Case
  14. 39:21Message Lifecycle
  15. 40:23Limitations
  16. 41:40Affinity Pool
  17. 42:31Fair Distribution Cue Selector
  18. 43:00What Are the Advantages
~/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.