Skip to content

mhxie/reflex-rust

Repository files navigation

ReFlex-Rust

ReFlex-Rust is consist of server and client rust implementations for benchmarking various workloads on disaggregated storage - ReFlex.

License: MIT Build Status Deploy Status

Build

cargo build

Run Mock Server

cargo run --release -p mock-server -- "127.0.0.1:25000"

Run Mock Client

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

Go Serverless

# 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}'

Benchmark

Use this repo reflex-bench

References

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published