#benchmark #embedded-database #key-value-store #tool #rocks-db #sled #workload

bin+lib ekvsb

Benchmark Tool for Embedded Key-Value Stores available in Rust

13 releases

0.0.13 Apr 22, 2019
0.0.12 Jan 15, 2019
0.0.8 Oct 20, 2018

#2813 in Database interfaces

Download history 54/week @ 2024-07-23

54 downloads per month

MIT and LGPL-3.0

48KB
1.5K SLoC

ekvsb

Crates.io: ekvsb Documentation Build Status License: MIT

Benchmark Tool for Embedded Key-Value Stores available in Rust

Supported Key-Value Stores

Installation

# For RocksDB (on Debian)
$ sudo apt install libclang1
$ export C_INCLUDE_PATH=/usr/lib/gcc/x86_64-linux-gnu/6/include/

$ cargo install ekvsb

Examples

$ ekvsb workload put --count 100000 --value-size 1KiB | ekvsb run rocksdb /tmp/rocksdb | ekvsb summary
{
  "oks": 100000,
  "errors": 0,
  "elapsed": 1.5015379999996445,
  "ops": 66598.38112656734,
  "latency": {
    "min": 9e-6,
    "median": 0.000013,
    "p95": 0.000023,
    "p99": 0.000055,
    "max": 0.004956
  }
}

Dependencies

~50MB
~892K SLoC