rust-storage-bench icon indicating copy to clipboard operation
rust-storage-bench copied to clipboard

Benchmarking Rust storage engines

rust-storage-bench

Benchmarking Rust storage engines:

  • fjall Δ ★ (https://github.com/fjall-rs/fjall)
  • jammdb Ω (https://github.com/pjtatlow/jammdb)
  • nebari Ω (https://github.com/khonsulabs/nebari)
  • persy Ω ★ (https://persy.rs)
  • redb Ω ★ (https://www.redb.org)
  • sled Ψ (https://sled.rs)

Non-Rust (bindings):

  • rocksdb Δ (https://rocksdb.org/)
  • heed Ω (https://github.com/meilisearch/heed)

  • Δ LSM based
  • Ω B-tree based
  • Ψ Hybrid (Bw-Tree, ...)
  • ★ has reached 1.0

Example usage

cargo build -r
alias bencher='cargo run --bin daemon -r --'

bencher --out task_e_fjall_lcs.jsonl --workload task-e --backend fjall --minutes 5 --key-size 8 --value-size 256 --items 1000 --cache-size 1000000

Run many benchmarks

node tasks.mjs <...filter>