Core concepts
Architecture
How browsers, servers, Phoenix channels, and topic processes connect.
At a high level, realtime traffic flows through Phoenix channels, while administrative work can flow through JSON HTTP routes without opening a websocket.
Rendering diagram…
Topic owner processes
Each events:<topic> logical room is backed by a single cluster-wide owner process that holds shared in-memory state. HTTP admin routes and websocket channel events both go through the same topic manager, so semantics stay aligned.
Where to read next
- Channels —
events:*vssession. - Topic state, session state, and cache — three storage shapes.
- Operations — health, readiness, and quorum.