Module 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.

Modules§

caches
This module exposed implementation of caches maintenance.
farms
This module exposed implementation of farms maintenance.

Structs§

ClusterControllerCacheIdentifyBroadcast
Broadcast sent by controllers requesting caches in cache group to identify themselves
ClusterControllerFarmerIdentifyBroadcast
Broadcast sent by controllers requesting farmers to identify themselves
ClusterNodeClient
NodeClient used in cluster environment that connects to node through a controller instead of to the node directly
ClusterPieceGetter
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).