Skip to main content

Module cluster

Module cluster 

Source
Expand description

Multi-node clustering contracts: origin/edge discovery and stream relay.

These are contracts only — the engine defines the seams an edge tier plugs into, but ships no concrete discovery or transport (those depend on the deployment’s service mesh / gossip / control plane). An edge node implements ClusterRelay to locate a stream’s origin, pull it locally, and announce the streams it serves.

Structs§

NodeAddr
Address of a node in the cluster (opaque to the engine).

Traits§

ClusterRelay
Origin/edge relay contract. Implement to federate streams across nodes: an edge that lacks a stream locally locates its origin and pulls it; an origin announces what it has.