CachePuppy
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.

On this page