Skip to main content

Module heartbeat

Module heartbeat 

Source
Expand description

Heartbeat writing, world view building, and node lifecycle.

Each node writes a heartbeat file to object storage at a regular interval. The WorldViewBuilder polls the heartbeat prefix to build a WorldView — a snapshot of all known nodes and their status.

Structs§

Heartbeat
A heartbeat written by a node to object storage.
HeartbeatCache
Cache summary for a node.
HeartbeatCapacity
Capacity information for a node.
HeartbeatLoad
Current load information for a node.
HeartbeatWriter
Writes the local node’s heartbeat to storage at a regular interval.
NodeStatus
Status of a single node in the world view.
WorldView
A snapshot of all known nodes in the swarm.
WorldViewBuilder
Periodically polls the heartbeat prefix and builds the world view.

Enums§

NodeState
The state of a node as observed via its heartbeat.