package
0.3.1
Repository: https://github.com/ultravioletrs/cocos.git
Documentation: pkg.go.dev

# README

Computations Server

Manager service is a grpc client. It connects to computations server. The server then responds with a run computation request. Once manager service receives the computation request it will launch an agent service in a virtual machine and pass the computation manifest. Agent will then pass logs and events to manager which are forwarded to the server. main.go is a sample of how such a server would be implemented. This is a very simple example for testing purposes.

Configuration

The service is configured using the environment variables from the following table. Note that any unset variables will be replaced with their default values.

VariableDescriptionDefault
HOSTComputations service gRPC host
PORTComputations service gRPC port7001
SERVER_CERTPath to server certificate in pem format
SERVER_KEYPath to server key in pem format

Running

go run main.go <dataset_path> <algo_path>