~/talk

Cracking the PubSub Code. Elixir's Key to Scalable Real-Time Systems

slides:none on file

Shows a concrete PubSub setup using Phoenix.PubSub with a GenServer state store that broadcasts an updated car count across two nodes connected by libcluster, demonstrating live synchronization (increment on one node appears on the other). Builds a LiveView parent and LiveComponent child that broadcast creates and toggles to update streams in real time. Compares adapters: default PG-based adapter works cluster‑native, Redis adapter requires a running Redis and becomes unusable when Redis dies, proving the single point of failure.

AI-written summary · about

  1. 0:00PubSub and Elixir intro
  2. 4:01What is PubSub architecture
  3. 8:41Phoenix PubSub adapters
  4. 11:14Backend use case Phoenix PubSub
  5. 15:08Redis adapter demo
  6. 17:00Frontend use case LiveView
  7. 21:41Summary
~/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.