Cluster Service

Cluster service manages nodes in a Mars cluster and expose APIs for other services to watch changes inside the cluster. The service uses different cluster backends for different systems.

Configuration

cluster:
    backend: "<cluster backend name>"
    lookup_address: "<address of master>"
    node_timeout: "timeout seconds of nodes"
    node_check_interval: "check interval seconds for nodes"

APIs

AbstractClusterBackend()

ClusterAPI(address)

WebClusterAPI(address)