~/talk

"Actors and Factories in Rust"

Talkat RustConf 2024 · 2024-09-10..09-13· [rust, concurrency]
links:none on file
github:slawlor
slides:none on file

Meta teams add FB Thrift support and build a C++ to Rust Tokio + Folly shim so C++ stays on sockets and Rust handles deserialization and business logic. They implement the Raport actor framework with factories that keep a pool of warm workers, supervisor restarts, adjustable queue depth and worker count, load‑shedding when queues fill, and graceful request draining. The result is bounded concurrency that prevents Tokio from spawning unbounded tasks and solves overloads in production.

AI-written summary · about

  1. 0:00Intro
  2. 1:22How Rust came to Meta
  3. 9:40Sean Lawlor
  4. 12:17What are Factories
  5. 15:45Factories in Thrift
  6. 16:54Concurrency and Queue Depth
  7. 17:47Factory concurrency
  8. 18:33Request draining
  9. 19:09Factory life cycle
  10. 20:22Conclusion
~/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.