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.
Modules§
- caches
- This module exposed implementation of caches maintenance.
- farms
- This module exposed implementation of farms maintenance.
Structs§
- Cluster
Controller Cache Identify Broadcast - Broadcast sent by controllers requesting caches in cache group to identify themselves
- Cluster
Controller Farmer Identify Broadcast - Broadcast sent by controllers requesting farmers to identify themselves
- Cluster
Node Client NodeClient
used in cluster environment that connects to node through a controller instead of to the node directly- Cluster
Piece Getter - Cluster piece getter
Functions§
- controller_
service - Create controller service that handles things like broadcasting information (for example slot notifications) as well as responding to incoming requests (like piece requests).