aerospike
aerospike binder: add additional instructions to README_developer
bin
Refs #19860 added kill and start commands
cassandra
commented Cassandra Client retries
conf
Added couchbase.persistTo property.
core
merge
couchbase_test
fixed default value for host parameter
couchbase-1.8
#19699 YCSB doesn't prints statistics on shutdown
couchbase-2.0
Modified processing of persistTo and replicateTo parameters.
distribution
gh-66 reorganize directory structure
doc
Updated the Mongo driver version.
dynamodb
gh-97 Bug fixes in dynamodb plugin
elasticsearch
* describe additional step in main README file
fabfile
Fixed ycsb_clean.
gemfire
gh-66 bump up version. use com.yahoo.ycsb
hbase
Added property to define the field name prefix.
hypertable
* describe additional step in main README file
infinispan
gh-66 bump up version. use com.yahoo.ycsb
jdbc
gh-66 bump up version. use com.yahoo.ycsb
mapkeeper
gh-66 modified mapkeeper readme
membase
added new CouchBase client
memcached
Fixed property name and spymemcached version.
mongodb
* describe additional step in main README file
nosqldb
gh-66 update nosql README
orientdb
gh-76 Updated the orientdb version to 1.0.1.
redis
gh-66 bump up version. use com.yahoo.ycsb
voldemort
gh-66 bump up version. use com.yahoo.ycsb
workloads
gh-66 reorganize directory structure
__init__.py
Refs #20495 implemented fabric polling
.gitignore
gh-97 Bug fixes in dynamodb plugin
BUILD
gh-66 added more stuff in BUILD. added db links in ycsb.
CHANGELOG
Updated README and other documentation.
checkstyle.xml
gh-67 use checkstyle.
FABRIC.txt
Updated README and other documentation.
IMPROVEMENTS.txt
Updated README and other documentation.
LICENSE.txt
Initial commit of YCSB.
NOTICE.txt
Initial commit of YCSB.
pom.xml
comment databases in main pom.xml to prevent building whole set of binders and allow user chose binder
README
comment databases in main pom.xml to prevent building whole set of binders and allow user chose binder

Yahoo! Cloud System Benchmark (YCSB)

This version of the YCSB tool is modified by Thumbtack Technology to add support for Aerospike and Couchbase databases, to improve MongoDB driver and to add some automation to run YCSB on multiple clients.

Links

http://wiki.github.com/brianfrankcooper/YCSB/ https://github.com/couchbaselabs/YCSB http://research.yahoo.com/Web_Information_Management/YCSB ycsb-users@yahoogroups.com http://docs.fabfile.org/en/1.3.2/

Getting Started

  1. Download the latest release of YCSB:

    git clone https://github.com/thumbtack-technology/ycsb.git cd ycsb

  2. Set up a database and client hosts to benchmark. There is a README file under each binding directory.

    You must have SSH (and in most cases root) access to all your hosts.

  3. Configure YCSB build script to build database binders Edit pom.xml, uncomment modules related to databases which you chose in section

  4. Configure hosts, databases and workloads settings: Edit files: conf/hosts.py, conf/databases.py, conf/workloads.py

  5. Build and deploy YCSB to client hosts

    fab ycsb_deploy

  6. Load data to databases

    fab ycsb_load:db=

    is aerospike, couchbase, couchbase2, cassandra, mongodb or any other you configured Edit conf/workloads.py to confiture workloads root directory

  7. Run YCSB workload

    fab ycsb_run:db=,workload=A

  8. Check the YCSB status

    fab ycsb_status:db=

  9. Download YCSB results and logs

    fab ycsb_get:db=,do=True

    You'll get some .out and .err files in the current directory downloaded from all your clients.

  10. Aggregate the YCSB results

    ./bin/merge.py

This script gets the most important parameters from YCSB .out files, such as throughput and latency, aggregates the results from multiple clients and prints the result as tab-separated values which can be easy pasted into any spreadsheet.

Notes

This tool was tested using following software versions

  • Ubuntu Server (12.04)
  • Git (1.7.10.4)
  • openjdk-7-jdk (7u9-2.3.3)
  • Maven (2.2.1)
  • Fabric (1.3.2)
  • Python (2.7.3)