3. BestConfig for Cassandra¶
3.1. Experimental Settings¶
We executed Bestconfig for the spark cluster with 4 nodes. The spark cluster consists of 1 master node and 3 slave nodes. All nodes used in our experiment are shown below.
Node | OS | CPU | Memory |
---|---|---|---|
Cassandra 1 | CentOS | 16 Intel(R) Xeon(R) CPU E5620 @ 2.40GHz | 32GB |
Cassandra 2 | CentOS | 16 Intel(R) Xeon(R) CPU E5620 @ 2.40GHz | 32GB |
Cassandra 3 | CentOS | 16 Intel(R) Xeon(R) CPU E5620 @ 2.40GHz | 32GB |
YCSB | CentOS | 16 Intel(R) Xeon(R) CPU E5620 @ 2.40GHz | 32GB |
3.2. Performance Surface¶
We use YCSB that is a widely adopted benchmark tools in the workload generator for Cassandra to generate the target workload. Currently, the workload adopted in our test is workoada, and we set recorecount to 17000000 and operationcount to 720000. Figure 1 is the scatter plot of performance for Cassandra under YCSB workloada.
The scatter plot of performance for Cassandra under YCSB workloada.
3.3. Test Results¶
The test result of Cassandra under YCSB workloada cassandraYcsba.arff.
3.4. Interface Impl¶
The source files of CassandraConfigReadin and CassandraConfigWrite implement the interfaces of ConfigReadin and ConfigWrite respectively.