Skip to main content

Module cluster

Module cluster 

Source
Expand description

Thread-Safe Cluster State with Metrics Collection

This module provides a lock-free, thread-safe cluster state tracking:

  • Node capabilities (VRAM, system memory, compute capability)
  • Live metrics (latency, delivery ratio, throughput)
  • Fault detection and recovery

Re-exports§

pub use crate::protocol::NodeResources;

Structs§

ClusterHealthMonitor
Cluster health monitor with periodic checks
ClusterState
Cluster state with thread-safe metrics collection
NodeMetrics
Metrics for a single node

Enums§

NodeStatus
Node status enumeration