Skip to content

joshwilliams/YCSB

This branch is 106 commits ahead of, 1084 commits behind brianfrankcooper/YCSB:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

3846086 · Jan 7, 2015
Jul 14, 2014
Jul 14, 2014
Jul 18, 2014
Nov 18, 2014
Jan 7, 2015
Jul 18, 2014
Feb 21, 2012
May 22, 2014
Jul 14, 2014
May 22, 2014
Sep 24, 2014
Jul 14, 2014
Jul 18, 2014
Nov 25, 2014
May 22, 2014
May 22, 2014
May 28, 2014
Mar 16, 2014
Feb 22, 2012
May 22, 2014
May 22, 2014
Apr 19, 2010
Apr 19, 2010
Jun 9, 2014
May 22, 2014
Feb 27, 2012
Nov 25, 2014

Repository files navigation

Yahoo! Cloud System Benchmark (YCSB)

A note on comparing multiple systems

NoSQL systems have widely varying defaults for trading off write durability vs performance. Make sure that you are comparing apples to apples across all candidates. The most useful common denominator is synchronously durable writes. The following YCSB clients have been verified to perform synchronously durable writes by default:

  • Couchbase
  • HBase
  • MongoDB

Cassandra requires a configuration change in conf/cassandra.yaml. Uncomment these lines:

# commitlog_sync: batch
# commitlog_sync_batch_window_in_ms: 50

Links

http://wiki.github.com/jbellis/YCSB/
http://research.yahoo.com/Web_Information_Management/YCSB/
[email protected]

Getting Started

  1. Download the latest release of YCSB:

    wget https://github.com/downloads/jbellis/YCSB/ycsb-0.1.4.tar.gz
    tar xfvz ycsb-0.1.4
    cd ycsb-0.1.4
  2. Set up a database to benchmark. There is a README file under each binding directory.

  3. Run YCSB command.

    bin/ycsb load basic -P workloads/workloada
    bin/ycsb run basic -P workloads/workloada

Running the ycsb command without any argument will print the usage.

See https://github.com/brianfrankcooper/YCSB/wiki/Running-a-Workload for a detailed documentation on how to run a workload.

See https://github.com/brianfrankcooper/YCSB/wiki/Core-Properties for the list of available workload properties.

Alternatively, see fabric/README for Thumbtack's work on parallelizing YCSB clients using Fabric.

Packages

No packages published

Languages

  • Java 67.0%
  • Python 30.6%
  • XML 1.5%
  • Shell 0.9%