A Docker Image that can be used to generate any of the YCSB workloads
100K+
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).
docker run --link some-cassandra:cassandra alvarobrandon/ycsb load cassandra-cql -P ycsb-0.12.0/workloads/workloada -p hosts=cassandra -p recordcount=100000docker run --link some-cassandra:cassandra alvarobrandon/ycsb run cassandra-cql -P ycsb-0.12.0/workloads/workloada/ -p operationcount=1000000 -p hosts=cassandra -target 15The 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.
Content type
Image
Digest
Size
727.6 MB
Last updated
over 8 years ago
docker pull alvarobrandon/ycsb