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:
Cassandra requires a configuration change in conf/cassandra.yaml. Uncomment these lines:
# commitlog_sync: batch # commitlog_sync_batch_window_in_ms: 50
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
Set up a database to benchmark. There is a README file under each binding directory.
Run YCSB command.
bin/ycsb load basic -P workloads/workloada bin/ycsb run basic -P workloads/workloada
ycsbcommand 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.