basho_bench is Basho’s most excellent key/value store benchmarking application. To ease comparison with the erlang riak client I wrote this simple shim between basho_bench and the riak-java-client.
Running bench_shim allows you to benchmark riak with the riak-java-client (or benchmark the riak-java-client against Riak).
You need Java and maven.
git clone git://github.com/russelldb/bench_shim.git
mvn clean install
mvn exec:java -Dexec.mainClass="com.basho.riak.bench.BenchShimApp" -Dexec.classpathScope=runtime -Dexec.args="nodename@host.local MY_COOKIE"
This will start a local Jinterface node. You then need to configure your basho_bench installation to talk to this Java node.
See the riakc_java.config file in the root of this repo for an example.
Lots, this is just a starter that drives the PB client.
- HTTP/PB choice
- Better docs