~/talk

Building a high-performance Future

Talkat Scale By the Bay 2017 · 2017-11-16..11-18· [concurrency]
speakerdeck:fwbrasil
slides:none on file

An open-source reimplementation called trane.io replaces Twitter’s Future internals, trading many per-element closures for shared collector objects and Java collections and using arrows to avoid allocations. Microbenchmarks report reduced allocations: 6→2, 128→48 bytes and orders-of-magnitude throughput wins on simple maps; production changes yield ~50% better throughput on some hot paths, 18% fewer allocations, and a 16% increase in requests served for one service with 4 MB/s fewer allocation traffic. Work relies on JMH, YourKit, VTune, JITWatch.

AI-written summary · about

  1. 0:00Intro
  2. 0:40Background
  3. 1:36Stage
  4. 6:28Trader Future
  5. 9:19Allocations in Scala
  6. 12:03Avoiding Closures
  7. 14:19Merging interfaces
  8. 15:25Optimizations
  9. 16:44Benchmarking
  10. 18:39Profiling
  11. 19:16Advanced profiling
  12. 21:31JIT refining
  13. 23:03Benchmarks
  14. 24:29io
~/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.