Skip to content

feat: distributed presence and state coordination #151

Description

@catgoose

Split from #142.

Presence tracking (OnJoin/OnLeave, subscriber counts) is currently process-local. In multi-instance deployments, presence state is incomplete — each instance only knows about its own subscribers.

Scope

  • Shared presence state across instances (likely via the backend interface)
  • Accurate subscriber counts cluster-wide
  • Coordinated OnFirst/OnLast hooks that fire based on global state, not per-instance state

Depends on

  • Production backend adapters (durable replay backends issue)

Metadata

Metadata

Assignees

No one assigned

    Labels

    future featurePlanned for future development

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions