Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

YCSB for Cassandra 3.0 Benchmarking

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?

like image 314
filby Avatar asked Feb 05 '16 18:02

filby


People also ask

What is YCSB in MongoDB?

Cloud Serving Benchmark (YCSB) is an open-source specification and program suite for evaluating retrieval and maintenance capabilities of computer programs. It is often used to compare relative performance of NoSQL database management systems. Let's take a look at how we can use it to generate a workload in MongoDB.


1 Answers

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.

like image 181
Phenyl Avatar answered Sep 26 '22 04:09

Phenyl