
Explore the easycast stress tool for generating workload-driven stress on Cassandra clusters. Learn how pre-designed workloads, including key-value workloads, and Kotlin-based configuration tailor stress tests.
Clone the Ezcast stress source code, install JDK 17, compile to the easy cass stress jar, and configure a tools folder, path, and script to run on the Cassandra server.
Review two Cassandra clusters and learn to generate stress with the easy CAS stress tool, noting authentication disabled on one cluster and authentication enabled on the other.
Learn to use the easy cass stress tool to list workloads, run the key value workload on a Cassandra cluster, and create a keyspace and a key value table.
Explore how to configure the easy-cass-stress tool with options for consistency levels, compaction and compression settings, workload duration, keyspace and schema handling, and metrics outputs.
Execute Cassandra workloads with easy-cass-stress, exploring iterations, duration, threads, read, write, and delete rates, and data generation functions to stress test and analyze performance.
Run a 50-iteration key-value workload with easy-cass-stress, showing authentication, a custom keyspace via -keyspace, and no-schema to skip creating spaces and tables, yielding 23 writes and 27 reads.
Learn how the easy-cass-stress tool reports on-screen metrics, Prometheus endpoints, and CSV exports for writes, reads, deletes, latency (including P99), requests per second, and errors.
Explore other stress tools for Cassandra, including the basic Cassandra stress tool and NoSQL bench, noting that Easycast stress tool remains the best and easiest option for Cassandra clusters.
Explore the easy-cass-stress tool for Cassandra workloads, from Kotlin-based development to building with the Java Development Kit (JDK), running on authenticated and unauthenticated clusters, and analyzing its metrics and options.
easy-cass-stress tool for stress testing Apache Cassandra clusters
In this course we will download/compile and execute several workloads using easy-cass-stress tool for generating a lot of load on our Apache Cassandra clusters.
We will review the documentation and all available options for easy-cass-stress tool.
We will execute many workloads using easy-cass-stress tool.
We will understand how to extract metrics from easy-cass-stress workload executions.
Short excerpt from easy-cass-stress tool documentation :
easy-cass-stress is a workload-centric stress tool for Apache Cassandra, written in Kotlin. Workloads are easy to write and because they are written in code. You have the ultimate flexibility to build whatever you want without having to learn and operate around the restrictions of a configuration DSL. Workloads can be tweaked via command line parameters to make them fit your environment more closely.
One of the goals of easy-cass-stress is to provide enough pre-designed workloads out of the box, so it’s unnecessary to code up a workload for most use cases. For instance, it’s very common to have a key value workload, and want to test that. easy-cass-stress allows you to customize a pre-configured key-value workload, using simple parameters to modify the workload to fit your needs.
The tool is flexible enough to design workloads which leverage multiple (thousands) of tables, hitting them as needed. Statistics are automatically captured by the Dropwizard metrics library.