Skip to main content

Module coordinator

Module coordinator 

Source
Expand description

Coordinator for distributed colony orchestration.

The coordinator is the central component of the distributed colony system, responsible for:

  • Managing the cluster topology via the shard registry
  • Routing documents to shards using consistent hashing
  • Synchronizing ticks across shards using barriers
  • Aggregating global statistics like document frequencies

Structsยง

ClusterStats
Statistics about the distributed cluster.
Coordinator
The distributed coordinator.
RegisteredShard
Extended shard info with status tracking.
ShardRegistry
Registry of active shards in the cluster.
TickBarrier
Barrier ensuring all shards complete a phase before any proceeds.