Sign inSign up

alvarobrandon/ycsb

By alvarobrandon

•Updated over 8 years ago

A Docker Image that can be used to generate any of the YCSB workloads

Image
1

100K+

alvarobrandon/ycsb repository overview

This image allows running the YCSB workloads in a lightweight and elastic way. All the dependencies are inside the image and users can start using YCSB straight away. For example, assuming we have a Cassandra instance named some-cassandra with the keyspace specified in YCSB instructions (https://github.com/brianfrankcooper/YCSB/wiki/Running-a-Workload⁠).

  1. docker run --link some-cassandra:cassandra alvarobrandon/ycsb load cassandra-cql -P ycsb-0.12.0/workloads/workloada -p hosts=cassandra -p recordcount=100000
  2. docker run --link some-cassandra:cassandra alvarobrandon/ycsb run cassandra-cql -P ycsb-0.12.0/workloads/workloada/ -p operationcount=1000000 -p hosts=cassandra -target 15

⁠How it works

The Docker image has ycsb-0.12.0/bin/ycsb.sh as the entrypoint. That means that, as shown in the previous example, only the load/run command needs to be used together with all the other options.

Tag summary

Content type

Image

Digest

Size

727.6 MB

Last updated

over 8 years ago

docker pull alvarobrandon/ycsb