Configuring node-to-node compression

Specify how you want to compress the contents of Cassandra SSTables. By using compression, you reduce the size of the data written to disk, and increase read and write throughput.

Important: The default compression settings ensure the highest performance.
Configure node-to-node compression by editing the corresponding prconfig.xml settings.

For more information about specifying settings through the prconfig.xml file, see Changing node settings by modifying the prconfig.xml file.

Procedure
  • If you want to compress all node-to-node compression (both inter-data center and intra-data center), set the value of the dnode/yaml/internode_compression property to ALL.
    Note: This is the default setting for node-to-node compression.
  • If you want to compress only inter-data center traffic, set the value of the dnode/yaml/internode_compression property to DC.
  • If you do not want to use node-to-node compression, set the value of the dnode/yaml/internode_compression property to NONE.