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!
Hot Topic: NoSQLBench Using Grafana
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.
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
--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.
for more details.