Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to use cassandra Stress tool

I would like learn more on cassandra stress tool , like how I can do the stress test and study the result. When cassandra-stress is executed from the cmd where is the keyspace made ,How to view them ?

like image 371
drusya Avatar asked Mar 12 '14 06:03

drusya


People also ask

What is cassandra-stress?

The cassandra-stress tool is a Java-based stress testing utility for basic benchmarking and load testing a Cassandra cluster. Data modeling choices can greatly affect application performance. Significant load testing over several trials is the best method for discovering issues with a particular data model.

Where is cassandra-stress?

The cassandra-stress tool also supports a YAML-based profile for defining specific schema with potential compaction strategies, cache settings, and types. Sample files are located in: Package installations: /usr/share/doc/cassandra/examples.

Is cassandra good for read or write?

Cassandra is excellent for write operations but not so fast on read operations. Both are rather fast but Cassandra does write operation faster. Cassandra has benefits being +HA (no SPOF) + having tuneable Consistency. Cassandra is very fast writing bulk data in sequence and reading them sequentially.


2 Answers

Cassandra stress is a tool provided with cassandra for stress testing. go through http://www.datastax.com/documentation/cassandra/1.2/cassandra/tools/toolsCStress_t.html for more info

like image 147
sai Avatar answered Oct 07 '22 20:10

sai


Since the original question has cassandra-2.0 tagged, I want to add the link to the documentation of the newer version of the stress tool:

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

The improved stress test tool introduced with Casssandra 2.1 can be used with Cassandra 2.0 clusters. It uses Yaml profiles and adds the ability to stress test your actual schema, with queries that you specify. There is an excellent introduction to it here: http://www.datastax.com/dev/blog/improved-cassandra-2-1-stress-tool-benchmark-any-schema

like image 35
Nadine Avatar answered Oct 07 '22 22:10

Nadine