~/talk

Process signals in OTP 21

Talkat Code BEAM SF 2019 · 2019-02-28..03-01· [elixir-and-erlang, concurrency]
links:none on file
slides:none on file

OTP 21 replaces the old two-queue plus many locks design with a three-queue pipeline (external/middle/internal), moves non-message signals into the external queue and processes them on the receiver using a skip list, and removes the global link lock. Monitors become a local red‑black tree plus a remote doubly‑linked list, cutting multiple red‑black ops and lock takings down to a couple of cheap ops. Benchmarks show roughly 4× throughput gains (examples: single gen_server 3M calls ~6.4s before), at the cost of increased latency for inspection-style calls.

AI-written summary · about

  1. 0:00Start
  2. 4:46SYNCHRONOUS
  3. 11:51MESSAGE SIGNALS before OTP-21
  4. 14:03LINK/MONITOR SIGNALS
  5. 19:54SIGNALS after OTP-21
  6. 28:06SUMMARY SIGNALS
~/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.