Usage of the Cassandra tool cassandra-stress

前端 未结 1 1279
眼角桃花
眼角桃花 2021-01-14 02:39

I want to benchmark my Cassandra Clusters with 1, 2, 3 and 4 instances. So I ran the cassandra-stress tool on one of the nodes. The benchmark shows strange

1条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2021-01-14 03:07

    If you are only running cassandra-stress on one node then I think this would be the expected result. A single machine cannot saturate a four node cluster and would be a bottleneck.

    Also if you are running cassandra-stress on one of the cassandra nodes, then that node will be doubly loaded by running both Cassandra and the stress client. This will put extra strain on the CPU and network connection for that machine.

    To get a true picture of your cluster throughput, you should run stress from multiple machines outside the cluster (but on the same LAN).

    0 讨论(0)
提交回复
热议问题