Why is my cassandra throughput not improving when I add nodes?

前端 未结 3 1610
囚心锁ツ
囚心锁ツ 2021-01-14 12:45

this is a newbie question. I have tried to do my homework, but I am stuck trying to learn how cassandra will scale linearly as advertized. When I run against a single cassan

3条回答
  •  情深已故
    2021-01-14 13:15

    1) You may be maxing out the inserting client, as Chris suggested.

    2) You're running VMs on a SAN, which shares IO bandwidth between all of the VMs. In effect, you're not adding capacity as much as distributing load between more virtual replicas sharing the same resources.

    3) Batches aren't typically intended for speed as much combining multiple statements into single logical operations. You're putting a lot of work on your coordinator, which will eventually hurt scaling: http://docs.datastax.com/en/cql/3.1/cql/cql_using/useBatch.html

提交回复
热议问题