Skip to content

cvybhu/rust-driver-benchmarks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

84 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rust driver benchmarks

Benchmarks for Scylla Rust Driver

Benchmarks

  • Basic - performs basic operations (inserts/selects), max concurrency active requests at once

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:

Drivers:

How to run a benchmark

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

How to generate a result chart

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