~/talk

Designing Beyond Behaviours, (...)

Talkat Code BEAM Lite A Coruña 2022 · on Saturday, 2022-06-11· [design-collaboration]
slides:none on file

Two libraries solve concrete problems: NQ implements an ordered M-producer M-consumer queue that avoids data races by using ETS-based compartments and incremental ticketing counters, preserving production order and replacing a single GenServer hotspot; microbenchmarks against a GenServer and a single-partition npq show the ETS approach performs better in the tested laptop case. Envision encodes JSON-like documents into a binary format and uses continuation-passing style to reuse match context (fewer binary survivors), supporting 15+ field types and yielding measurable decoding speedups across document sizes; both libraries are open source.

AI-written summary · about

  1. 0:00Introduction
  2. 0:42Apollonia and Sisters overview
  3. 1:49NQ queue library design
  4. 3:40GenServer queue bottleneck
  5. 8:00Ticketing system for queues
  6. 10:28NQ vs GenServer benchmarks
  7. 11:37Performance considerations
  8. 11:59Envision binary decoding
  9. 14:46Erlang binary efficiency
  10. 17:21Binary pattern matching optimization
  11. 20:10CPS for binary decoding
  12. 23:23CPS vs direct style benchmarks
  13. 24:29When to use CPS
  14. 24:51Q&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.