~/talk

Futures: Twitter vs Scala

Talkat Scale By the Bay 2017 · 2017-11-16..11-18· [scala, distributed-systems]
slides:none on file

Compares Twitter Futures and Scala Futures by naming concrete features and tradeoffs: Twitter Futures use local scheduling via a tiny thread‑local scaler to reduce context switches and boost throughput in Finagle, implement promise link compression (root linking) to allow unbounded future recursion without heap growth, and expose interrupts and locals so cancellations, request timeouts, and request‑scoped context propagate and can be serialized over the wire. Scala 2.12 adds similar root compression; the Twitter implementation is simple (<100 lines for key pieces) and proven in production.

AI-written summary · about

  1. 0:00Introduction
  2. 3:35Future implementation
  3. 4:35Local scaling
  4. 10:23Scala 212
  5. 10:47Interrupt
  6. 17:13Conclusion
~/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.