Module subspace_farmer::cluster::controller
source · Expand description
Farming cluster controller
Controller is responsible for managing farming cluster.
This module exposes some data structures for NATS communication, custom piece getter and node client implementations designed to work with cluster controller and a service function to drive the backend part of the controller.
Structs§
- Broadcast sent by controllers requesting caches in cache group to identify themselves
- Broadcast sent by controllers requesting farmers to identify themselves
NodeClient
used in cluster environment that connects to node through a controller instead of to the node directly- Cluster piece getter
Functions§
- Create controller service that handles things like broadcasting information (for example slot notifications) as well as responding to incoming requests (like piece requests).