# sc-go **Repository Path**: lin2631/sc-go ## Basic Information - **Project Name**: sc-go - **Description**: simulator of cluster ,golang - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2022-06-23 - **Last Updated**: 2024-02-17 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # SC-GO simulator of cluster based on Golang ## run and build 1. prepare the google trace data 2. 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" } ``` 3. run or build - run for test : ``` ./dev.sh ``` - build : ``` ./build.sh ``` - docker build : ``` ./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