Palbase Realtime
Palbase's realtime module: channels a project's clients join over one socket — broadcasts between them, a shared keyed state with presence, and each user's own permission channel — in one shared, multi-tenant service of several replicas. A broadcast or a state change on one replica reaches every subscriber on every other; a channel's state outlives the replica that served it.
Two doors. The socket (/realtime/v1/websocket) is the client's: it belongs to the project its host names, and each join is decided by the user's token and the project's declaration. The project's server declares its channels, sets its limits and publishes as the server with its secret key (apikey, role service_role).
Every name on the platform's bus starts with the project's id, taken from the edge's signed identity: a project's clients reach its own channels only, however they spell one.
The contract itself: /openapi/realtime.openapi.json