YCSB/infinispan
Sean Busbey 12ce3a8504 [version] update master branch to 0.18.0-SNAPSHOT 2019-09-21 01:24:50 -05:00
..
src/main Move all packages from com.yahoo.ycsb to site.ycsb. (#1354) 2019-09-19 13:51:09 -05:00
README.md [licensing] Added ASLv2 headers to files without them. 2015-08-07 10:49:16 -07:00
pom.xml [version] update master branch to 0.18.0-SNAPSHOT 2019-09-21 01:24:50 -05:00

README.md

Quick Start

This section describes how to run YCSB on infinispan.

1. Install Java and Maven

2. Set Up YCSB

  1. Git clone YCSB and compile:
git clone http://github.com/brianfrankcooper/YCSB.git
cd YCSB
mvn clean package
  1. Copy and untar YCSB distribution in distribution/target/ycsb-x.x.x.tar.gz to target machine

4. Load data and run tests

####4.1 embedded mode with cluster or not Load the data:

./bin/ycsb load infinispan -P workloads/workloada -p infinispan.clustered=<true or false>

Run the workload test:

./bin/ycsb run infinispan -s -P workloads/workloada -p infinispan.clustered=<true or false>

####4.2 client-server mode

  1. start infinispan server

  2. read RemoteCacheManager doc and customize hotrod client properties in infinispan-binding/conf/remote-cache.properties

  3. Load the data with specified cache:

./bin/ycsb load infinispan-cs -s -P workloads/workloada -P infinispan-binding/conf/remote-cache.properties -p cache=<cache name>
  1. Run the workload test with specified cache:
./bin/ycsb run infinispan-cs -s -P workloads/workloada -P infinispan-binding/conf/remote-cache.properties -p cache=<cache name>