Benchmarks for Scylla Rust Driver
scylla-rust-driver
- Scylla Rust drivercpp
- Scylla C++ driver, running on a single thread because multiple threads are buggycpp-multi
- Datastax Cassandra C++ Driver, running on multiple threads.cassandra-cpp
- Rust bindings for Datastax C++ Driver, running on multiple threads using Tokio.gocql
- A driver written in Gocdrs-tokio
- Another compatible driver written in Rust
Each benchmark is inside a Docker image
Build the image and run the benchmark
Most commands require sudo
or being in the docker group
For example to run the basic
benchmark using scylla-rust-driver
- Start a local scylla instance:
sudo ./scylla.sh
- Enter benchmark directory:
cd benchmarks/basic/rust
- Build the benchmark:
sudo ./build.sh
- Wait until scylla is ready (Should say something like
listening on 172.17.0.3
) - Run the benchmark:
sudo ./run.sh
Chart generator is also in a docker image for convenience
- Enter the
generate_chart
directory - Build the docker image:
sudo ./build.sh
- Enter benchmark results in
config.py
- Generate the chart:
sudo ./generate.sh
- Generated chart will be in
chart.png