~/talk

Anatomy of a Real Time Elixir App

links:none on file
slides:none on file

Dives into Phoenix source to show exactly how sockets become routes (each socket compiles into dispatch functions), how Cowboy’s WebSocket and Phoenix’s transport call the app’s connect/3 → connect/1 flow, and how joining starts a supervised GenServer so channel = pid while the topic is a map key. Demonstrates PubSub subscription per channel, JSON serialization via the Cowboy handler, and that messages are handled serially (so channels can become bottlenecks).

AI-written summary · about

  1. 0:00Introduction
  2. 1:54What is real time
  3. 3:41Why anatomy
  4. 7:23Phoenix Channels
  5. 11:18WebSockets
  6. 12:40Socket Macro
  7. 15:31Socket Paths
  8. 18:23WebSocket
  9. 21:18Connect
  10. 23:07WebSocket Handle
  11. 27:25Handling Info
  12. 30:12Reply
~/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.