ReFlex-Rust is consist of server and client rust implementations for benchmarking various workloads on disaggregated storage - ReFlex.
cargo build
cargo run --release -p mock-server -- "127.0.0.1:25000"
cargo run --release -p mock-client
cargo run --release -p mock-client -- --help
cargo run --release -p mock-client -- --address "127.0.0.1:25000" --number 1000 --duration 60 --length 1024
cargo run --release -p mock-client -- --address "127.0.0.1:25000" --number 1 --duration 10 --length 1024
# Configure serverless and AWS-cli
curl -o- -L https://slss.io/install | bash
pip3 install awscli --upgrade --user
aws configure
# Try the serverless demo with the plugin serverless-rust
docker pull softprops/lambda-rust:latest # 0.3.0-rust-1.45.0
npm i
npm ci
npx serverless deploy
# Test your invocation and have fun
npx serverless invoke -f rust-cli -d '{
"addr":"10.0.1.208:25000",
"start": 0,
"duration":10,
"number":1,
"length": 1024,
"rw_ratio": 100}'
Use this repo reflex-bench