Cassandra batch query vs single insert performance

后端 未结 2 571
北恋
北恋 2021-01-05 06:08

I use Cassandra java driver.

I receive 150k requests per second, which I insert to 8 tables having different partition keys.

My question is whic

2条回答
  •  梦毁少年i
    2021-01-05 06:39

    Batches have a HUGE impact on performance instead. The sollution that best suits you as I understand to split into diffirent lists per partition keys and then use batch statements. You will see a huge impact on performance.

提交回复
热议问题