Maps room ids to cluster nodes via consistent hashing over live membership.
Remarks
Wraps a HashRing kept in sync with Membership through a
MembershipReconciler: nodes joining/leaving add or remove ring points,
weighted by each node's capacity metadata. Given a room id, the router names
the node that should own it, letting a signaling cluster shard rooms with
minimal reshuffling when the node set changes. This node's own id is always
present on the ring.
Maps room ids to cluster nodes via consistent hashing over live membership.
Remarks
Wraps a HashRing kept in sync with Membership through a MembershipReconciler: nodes joining/leaving add or remove ring points, weighted by each node's
capacitymetadata. Given a room id, the router names the node that should own it, letting a signaling cluster shard rooms with minimal reshuffling when the node set changes. This node's own id is always present on the ring.