rpc-perf is a tool for measuring the performance of network services. While it has historically focused on caching services, the support is expanding to cover HTTP and PubSub.
Follow the build instructions to build rpc-perf from
this repository and take a look at the example configurations in the configs
folder. There you will find some examples for each of the supported protocols.
The examples provide a starting point and may need some changes to produce a
representative workload for your testing.
To build rpc-perf from source, you will need a current Rust toolchain. If you don't have one, you can use rustup or follow the instructions on rust-lang.org.
Now that you have a Rust toolchain installed, you can clone and build the
project using the cargo
command.
git clone https://github.com/iopsystems/rpc-perf
cd rpc-perf
cargo build --release
This will produce a binary at target/release/rpc-perf
which you may copy to
a more convenient location. Check out the getting started
for more information on how to use rpc-perf
If you want to submit a patch, please follow these steps:
- create a new issue
- fork on github & clone your fork
- create a feature branch on your fork
- push your feature branch
- create a pull request linked to the issue