Jump to: navigation, search

Other Cassandra Configuration

Time Synchronization

It is mandatory to ensure that time is correctly synchronized on each host where Cassandra is running, using NTP for example. Failing to do so may result in incoherent behaviour such as incorrectly created tables/index, inconsistent or disappearing data.

Be sure to follow the vendor's recommended settings for production systems.

There is more information in vendor documentation here.

Batch Size

In order to support attachments larger than 100 Kb, the following option should be populated in the Cassandra configuration:

batch_size_fail_threshold_in_kb : 16384

The following option defines a batch size warning threshold:

batch_size_warn_threshold_in_kb: 1638

Timeout

It is advised to increase write request timeout by changing the below option:

write_request_timeout_in_ms: 30000

Concurrent Operations for Indexed Searches

In order to provide the best performance on indexed searches, it is recommended to configure the following settings on all your Cassandra nodes:

concurrent_reads : 128
concurrent_writes : 64

Feedback

Comment on this article:

blog comments powered by Disqus
This page was last modified on May 18, 2018, at 06:55.