~/talk

Twitter’s Quest for a Wholly Graal Runtime

Talkat Scala Days New York 2018 · 2018-06-19..06-21· [scala]
slides:none on file

Twitter reports running the Graal JIT compiler in production for core Scala services (Tweet, user, social-graph), finds and fixes real crashes caused by agents and static-initializer edge cases, ports ~1,000 lines of handwritten intrinsics, and measures concrete wins: about 11% CPU reduction for the tweet service and roughly 2.5% fewer GC cycles, plus a small metaspace/runtime-state cost. Benchmarks include JDK 8/9/10 setups, inlining tweaks that add ~2% more, and plans for automated tuning and wider rollout.

AI-written summary · about

  1. 0:00Intro
  2. 0:41Goal of this talk
  3. 0:54Chriss background
  4. 4:24What is Twitter
  5. 6:47Why run on Graal
  6. 11:27Compilation issues
  7. 15:24The fix
  8. 15:35The crash
  9. 16:31What is snippets
  10. 17:33Time to bite the bullet
  11. 17:43This never happened
  12. 17:57This was an important part
  13. 18:55Possible failure
  14. 19:31Twoline fix
  15. 20:32Compact Strings
  16. 21:47Integral
  17. 24:57Graphs
  18. 26:32Memory Leak
  19. 27:28Use CPU Time
  20. 28:10CPU Utilization
  21. 28:50Tweet Service
  22. 29:38Escape Analysis
  23. 30:51Money
  24. 31:07Data centers
  25. 31:21Cloud providers
  26. 31:49Cost per CPU core
  27. 32:38Cost of 10k servers
  28. 33:18What if we inline more
  29. 33:38Tweak this
  30. 33:54Second experiment
  31. 35:22JIT compiler
  32. 35:53Oracle JDK
  33. 38:05Java Conferences
  34. 39:33Summary
  35. 41:01Hands Up
  36. 41:13First Row
  37. 42:38Use Cases
  38. 43:27Inlining Parameter Tweak
  39. 43:40Optimizations
  40. 44:42IO
  41. 45:51Enterprise Crawl
  42. 48:40The Question
  43. 48:58The Answer
~/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.