/basho_bench

A load-generation and testing tool for basically whatever you can write a returning Erlang function for.

Primary LanguageErlangApache License 2.0Apache-2.0

basho_bench

Overview

For general information about basho_bench, please refer to the original README

Basho Bench is a benchmarking tool created to conduct accurate and repeatable performance tests and stress tests, and produce performance graphs.

Modification

Two files are added for benchmarking floppystore:

  • src/basho_bench_driver_floppystore.erl: defines the initialization of a benchmarking thread and how it executes put/get operations.
  • examples/floppstore.config: contains benchmark parameters.

Run a benchmark

$ ./basho_bench examples/floppystore.config

At the end of the benchmark, results will be available in CSV format in the tests/current/ directory. Now you can generate a graph:

$ make results
$ open tests/current/summary.png

Limitations

Right now it only has put/get interfaces and there is no support for transaction. It only put/get for riak_dt_gcounter.