Install: pip3 install -r requirements.txt
Run : ./boot.sh
How to run everything for training:
[influx2]
pass in url=http://influxdb.onedatashare.org/
org=OneDataShare
, token and timeout.The environment for BO and VDA2C, required is the key to access your influxDB deployment. This can be supplied through config.ini in root of the project
There are three HTTP API requests you can submit to this flask server:
{
"node_id": "transfer nodes id", #the node if the transfer-service is using
"max_concurrency": 32, #number of connections to source and destination servers
"max_pipesize": 16, #number of reads to single write operation
"max_chunksize": 32000000, #this in bytes
"optimierType": "VDA2C", #This can be BO or VDA2C
"file_count" : 50 # the number of files in the job
}
{
"concurrency": 1,
"parallelism": 2, #number of connections to source and destination servers
"pipelining": 16, #number of reads to single write operation
"chunksize": 32000000, #chunk size used in bytes
"throughput":1 , #Achieved throughput
"rtt" : 50 # this is collected through InfluxDb actually
}
3.Delete Optimizer
{
"node_id" = "nodeId" #same node id used in create optimizer
}