YCSB for Cassandra 3.0 Benchmarking
Asked Answered
F

2

13

I have a cassandra ubuntu visual cluster and need to benchmark it.

I try to do it with yahoo's ycsb (without use of maven if possible). I use cassandra 3.0.1 but I cant find a suitbale version of ycsb.

I dont want to change to an oldest version of cassandra (ycsb latest cassandra-binding is for cassandra 2.x)

What should I do?

Facilitate answered 5/2, 2016 at 18:40 Comment(2)
I am facing the same issue, YCSB does not support Cassandra 3.x yet. Lets hope YCSB will be releasing new binding for Cassandra 3.x soon. There is a thread in YCSB issues : github.com/jsevellec/cassandra-unit/issues/166Jelena
Until ycsb is available for 3.x, you can use cassandra-stress for pure Cassandra workloads.Celery
A
2

As suggested here, despite Cassandra 3.x is not officially supported, you can use the cassandra-cql binding.

For instance:

/bin/ycsb load cassandra-cql -threads 4 -P workloads/workloada

I just tested it on Cassandra 3.11.0 and it works for both load and run.

That said, the benchmark software to use depends on your test schedule. If you want to benchmark only Cassandra, then @gsteiner 's solution might be the best. If you want to benchmark different databases using the same tool to avoid variability, then YCSB is the right one.

Apo answered 14/7, 2017 at 13:43 Comment(0)
R
0

I would recommend using Cassandra-stress to perform a load/performance test on your Cassandra cluster. It is very customizable, to the point that you can test distributions with different data models as well as specify how hard you want to push your cluster.

Here is a link to the Datastax documentation for it that goes into how to use the tool in depth.

https://docs.datastax.com/en/cassandra/2.1/cassandra/tools/toolsCStress_t.html

Ripley answered 28/10, 2016 at 13:23 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.