Difficulty: Beginner
Estimated Time: 10-15 minutes

Before you deploy, you want to do load testing! NoSQLBench is a great tool to help you do that.

In this scenario, we'll:

  • Run NoSQLBench against a Cassandra cluster
  • View the stats in Grafana

Grafana is a great way to view your benchmarking stats. Let's see how it works!

ver 0.007

In this scenario, we:

  • Ran NoSQLBench against a Cassandra cluster
  • Viewed the stats in Grafana

Pretty cool, huh!

Hot Topic: NoSQLBench Using Grafana

Step 1 of 4

Run NoSQLBench

Before we run the benchmark, let's make sure Cassandra installed and running. Execute this command to see the status of our one-node cluster.

nodetool status

You should see a status of UN (Up and Normal).

Now, let's start the benchmark.

./nb cql-iot cyclerate=100 --progress console:15s --docker-metrics

Notice the --docker-metrics option on the previous command. This option tells NoSQLBench to export statistical data so that we can view it in Grafana.

NoSQLBench supports other metrics reporting methods including CSV and HDR, but the --docker-metrics approach is the easiest to use. See the docs for more details.

Now you have your benchmark running. Next will look at the stats!