module
Version:
v0.0.0-...-467849e
Opens a new window with list of versions in this module.
Published: Feb 17, 2024
License: MIT
Opens a new window with license information.
README
¶
SC-GO
simulator of cluster based on Golang
run and build
-
prepare the google trace data
-
modify the config.json , set the data path
- serverMode : make the program work as server , let other program use the program by grpc
- dataPath : where is the google trace data
- cachePath where the program store the cache (it's maybe a little big)
{
"serverMode" : true ,
"dataPath":"/media/lin/kioxia960/traceData",
"cachePath":"/media/lin/kioxia960/cache"
}
- run or build
./dev.sh
./build.sh
./docker_build.sh
then the simulator will listen at the port 50051 for serving
usage
python :
./py/scgo4py is the library for py
./py/scgo_test.py is a simple example
developer mannual
please see ./doc/dev.md
Directories
¶
|
|
|
//定义了集群内发生事件的各种事件类型 |
|
|
|
|
the Schduler_Main only work when the program is not in the ServerMode If the Program run as the server ,this file can't be ommited
|
the Schduler_Main only work when the program is not in the ServerMode If the Program run as the server ,this file can't be ommited |
|
|
|
|
|
|
Click to show internal directories.
Click to hide internal directories.