Skip to main content

Module cluster

Module cluster 

Source
Expand description

SRV-005: clustering via beamr distribution with seed-node discovery.

Multiple liminal-server instances form a single logical message bus by joining a beamr distribution cluster: nodes discover each other from configured seed addresses (discovery), track membership by polling the connection table (membership), and propagate channel subscriptions plus published messages across nodes through process groups (sync). All cluster behaviour delegates to beamr distribution primitives — there is no custom consensus, gossip, or failure detector here.

Re-exports§

pub use discovery::ClusterResolver;
pub use discovery::SeedConnectOutcome;
pub use membership::ClusterHandle;
pub use membership::Membership;
pub use membership::MembershipDelta;
pub use membership::start;
pub use sync::ClusterSync;

Modules§

discovery
SRV-005 R1: seed-node discovery over beamr distribution.
membership
SRV-005 R2/R3/R4: cluster membership by POLLING beamr’s connection table, plus the start entry point and the ClusterHandle that owns the cluster’s background resources.
sync
SRV-005 R5/R6: cross-node subscription propagation and message fan-out.