Expand description
Edge-cache eligibility registry.
Tracks which nodes have been registered as eligible for edge caching by
the upstream control plane (the consuming cluster manager).
Propagates the eligibility decision via
the gossip-label mechanism in crate::gossip so peer nodes can route
cache-bearing traffic to eligible nodes by inspecting their advertised
gossip::PeerInfo::labels.
The actual cache fill / eviction / hit-counting logic is out of scope
for this module — it lives in upstream feature work (Z3Fungi sidecar or
a future overlay-native cache primitive). EdgeCacheRegistry::stats
returns a (0, 0) placeholder intentionally; the API surface exists so
upstream integration tests (e.g. Zatabase Wave 1.3.3.7) can build
against it.
Structs§
- Edge
Cache Node - One entry in the registry — a node currently marked edge-cache-eligible.
- Edge
Cache Registry - Tracks which nodes are eligible for edge caching and propagates that state via gossip labels.
- Edge
Cache Stats - Per-node cache hit/miss counters.
- Node
Capacity - Cache capacity advertised by a node when it becomes eligible.
Enums§
- Edge
Cache Error - Errors returned by
EdgeCacheRegistry.