Benchmarks for Scylla Rust Driver
Disclaimer:
This chart is pretty old. A lot has changed since it was created, including driver names used here.
The two drivers with changed names were:
cpp
- Scylla C++ driver running on a single threadcpp-multi
- Datastax Cassandra C++ Driver
scylla-rust-driver
- Scylla Rust driverscylla-cpp-driver
- Scylla C++ driverscylla-cpp-rust-driver
C++ driver implemented by binding to Rust driverdatastax-cpp-driver
- Datastax Cassandra C++ Drivercassandra-cpp
- Rust bindings for Datastax C++ Drivergocql
- 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
If you're using docker executing the commands might require sudo
or being in the docker group.
For example to run the basic
benchmark using scylla-rust-driver
- Start a local scylla instance:
./scylla.sh
- Enter benchmark directory:
cd benchmarks/basic/scylla-rust-driver
- Build the benchmark:
./build.sh
- Wait until scylla is ready (Should say something like
listening on 172.17.0.3
) - Run the benchmark:
./run.sh
Chart generator is also in a docker image for convenience
- Enter the
generate_chart
directory - Build the docker image:
./build.sh
- Enter benchmark results in
config.py
- Generate the chart:
./generate.sh
- Generated chart will be in
chart.png