
Learn how the easy-cass-stress tool generates workload-centric stress on Apache Cassandra clusters, with Kotlin workloads, configurable via command line, and ready-made key-value workloads from GitHub.
Log into the doom server as the Cassandra user and use the easy-cass-stress tool to run several workloads, view available options with the x list command, then execute each workload.
Run 5000 transactions using the key value workload with the easy cass stress tool in Cassandra, creating a key value table with key and value columns and 50% reads.
Explore the allow filtering workload in the easy Cassandra stress tool, including elo filtering, dynamic parameters like max value and rows, and overriding values with the dash-dash workload option.
Explore how cassandra clusters store time series data by running the basic time series workload with the easy cassandra stress tool, creating the sensor_data table and generating 5000 operations.
Explore how Cassandra counters power the Counters Wide workload, which creates the counter_underscore_wide table with a value counter column, runs 5000 operations using the Easycast stress tool, and populates data.
Explains how Datastax enterprise's DSE search workload uses search indexes, creating a DSE_search table and a value_text index, with two dynamic parameters; the workload is skipped due to no cluster.
Explore the maps workload in easy Cassandra stress, creating a map_stress table with a data column of map type and generating 5000 operations to populate the data.
Explore how lightweight transactions in Cassandra incur read-before-write overhead. The LWT workload on 30,000 operations, run by the easy cash stress tool, shows large latency for reads and writes.
Explore the locking workload in the easy cass stress tool, using read-before-write updates with lightweight transactions, creating the lwp updates table and showing high latency and errors.
The materialized views workload for Cassandra uses the easy stress tool to create a person table and two materialized views (person by age, person by city), executing 5000 operations.
random partition access workload from easy-cass-stress creates a table random_underscore_access with partition id as partition key and row id as a clustering column, 5000 operations with three dynamic workload parameters.
Explore Cassandra 5.0 storage attached indexes and the PSI workload that creates a CI table with two indexes, noting CI currently supports one column per index.
Explore the sets workload in Cassandra stress, creating a sets table with a values column of data type set and generating 5000 operations during execution.
Create a user defined data type time series workload in easy Cassandra stress, build a sensor_data_details type and a sensor_data_ut table, and observe high read latency from udt reads.
Explore the Easycast stress tool, which ships with multiple workloads. Learn how we executed and familiarized ourselves with them to run on your clusters according to your needs.
easy-cass-stress tool supports several workloads for stress testing Apache Cassandra clusters
In this course we will execute several workloads using easy-cass-stress tool for generating a lot of load on our Apache Cassandra clusters.
We will review the options available for each workload when easy-cass-stress tool.
We will execute all available workloads using easy-cass-stress tool.
We will understand how and what each workload will do during workload execution.
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.