~/talk

Use actors, Luke

Talkat Saint HighLoad++ 2023 · 2023-06-26..06-27· [distributed-systems]
links:none on file
slides:none on file

Company runs payments in ~20 countries and builds a distributed payments coordinator using virtual actors (Orleans/.NET) that host a tiny in-memory virtual queue per payment, drive stepwise sagas for authorization/capture/refund, and persist only tails to durable storage. The migration cuts DB connector contention and smooths spike handling (reduced DB contention), but raises CPU from many timers and requires careful placement across two clouds. Implementation works in production with tradeoffs: simpler concurrency and better throughput for command handling, at cost of timer overhead and added operational complexity.

AI-written summary · about

  1. 0:00Introduction
  2. 1:31Actor model
  3. 8:11Multithreading problems
  4. 18:48Actor examples
  5. 23:42Payment system solution
  6. 30:12When not to use actors
  7. 43:00Q&A
~/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.