~/talk

Using OTP in Your Phoenix App

links:none on file
slides:none on file

Shows that moving large, shared game state out of per-request memory and into GenServer encapsulation cuts repeated BEAM copy churn, replaces per-request maps with references, and keeps a single always-in-memory dataset. Uses DynamicSupervisor, a registry and telemetry around long-lived servers inside a Phoenix app to host the personalization pipeline. Real case: a complex API pipeline whose memory usage scaled poorly is stabilized in production, reducing duplicated in-process memory and improving throughput.

AI-written summary · about

  1. 0:00Introduction
  2. 1:22Elixir and Phoenix benefits
  3. 2:25Backend patterns in Elixir
  4. 4:31Runtime memory boundaries
  5. 6:44Data sharing across processes
  6. 8:35Data copying in practice
  7. 11:49Exceptions to copying
  8. 13:13Shared references in nested data
  9. 14:17Cost of process copies at scale
  10. 15:22OTP process design
  11. 17:03GenServer for shared data
  12. 18:17Q&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.