Was this page helpful?
Advanced Internode (RPC) Compression¶
Available with the Premium plan
Internode (RPC) compression controls whether traffic between nodes is compressed. If enabled, it reduces network bandwidth usage.
To further reduce network traffic, you can configure ScyllaDB Enterprise to use ZSTD-based compression and shared dictionary compression. You can enable one or both of these features to limit network throughput and reduce network transfer costs.
Enabling ZSTD-based Compression¶
ZSTD-based compression utilizes the ZSTD algorithm for RPC compression.
To enable ZSTD-based compression:
Set
internode_compression_enable_advanced
totrue
.Set
internode_compression_zstd_max_cpu_fraction
to a non-zero value in the range [0, 1], where:0 - The node will never use ZSTD for RPC compression.
1 - The node will always use ZSTD for RPC compression (for all messages, regardless of CPU consumption).
A good rule of thumb is to start from 0.05
. As a result, the node will spend
not more than 5% of its total CPU on RPC ZSTD compression.
Note that enabling ZSTD increases CPU usage. We recommend monitoring metrics
to ensure additional CPU consumption does not disrupt the workload. If ZSTD
impacts performance, try setting internode_compression_zstd_max_cpu_fraction
to a lower value.
Reference¶
See the Inter-node settings section in Configuration Parameters for a complete list of internode compression options.