Spark环境下Dataset写入Cassandra比RDD慢10倍的技术问题咨询
RDD vs. Dataset Cassandra Write Performance: 10x Slowdown Observed with Dataset
I recently ran a head-to-head performance test for writing to a Cassandra table (4 partition keys, 30000 total records) using Spark RDDs and Datasets. The outcome was striking: Dataset writes were 10 times slower than RDD writes.
Environment & Configuration Details
Cluster & Software Versions
- DSE version:
5.1.7 - Spark version:
2.0.1 - Deployment mode: Spark Standalone
- Cluster setup: 6 nodes total, each with 20 cores and 6GB of memory
Key Spark Configuration Settings
spark.scheduler.listenerbus.eventqueue.size=100000spark.locality.wait=1spark.dse.continuous_paging_enabled=falsespark.cassandra.input.fetch.size_in_rows=500
内容的提问来源于stack exchange,提问作者Shrinivas Suresh
相关产品推荐
相关产品推荐

