Home > Workload Solutions > Data Analytics > White Papers > Application Modernization for High-Volume Workloads with DataStax > Run the Apache Cassandra benchmarks
Perform the following steps to run the Apache Cassandra benchmarks:
<CASSANDRA_HOME_DIR>/tools/bin/cassandra-stress user profiile=<CASSANDRA_HOME_DIR>/tools/cqlstress-insanity-example.yaml ops\(insert=10,simple1=90\) cl=ONE duration=10m -mode native cql3 –pop dist=uniform\(1.. total_number_entries >\) -node <node_IP_address> -rate threads=<number_of_client_threads>
Rate threads are adjusted to a value that gives the maximum throughput for a given SLA.
<CASSANDRA_HOME_DIR>/tools/bin/cassandra-stress user profile=<CASSANDRA_HOME_DIR>/tools/cqlstress-insanity-example.yaml ops\(insert=90,simple1=10\) cl=ONE duration=10m -mode native cql3 –pop dist=uniform\(1.. total_number_entries \) -node <node_IP_address> -rate threads=<number_of_client_threads>
Rate threads are adjusted to a value that gives the maximum throughput for a given SLA.
<CASSANDRA_HOME_DIR>/tools/bin/cassandra-stress user profile=<CASSANDRA_HOME_DIR>/tools/cqlstress-insanity-example.yaml ops\(insert=50,simple1=50\) cl=ONE duration=10m -mode native cql3 –pop dist=uniform\(1.. total_number_entries \) -node <node_IP_address> -rate threads=<number_of_client_threads>