push.replication.compression-algorithm
The compression algorithm to use when transferring compressible files to Push slaves.
Key: push.replication.compression-algorithm
Type: PushReplicationCompressionAlgorithm
allowed values: GZIP
, LZF
, NONE
, ZSTD
, ZSTD1
, ZSTD2
or ZSTD3
Can be set in: collection.cfg
Description
The compression algorithm to use when transferring compressible files to Push slaves. The following options are available:
GZIP
Gives good compression but is the slowest. Should be used when a slaves network bandwidth no more than 100Mbps
LZF
Gives good compression but still uses some CPU on the master.
NONE
No compression.
ZSTD
ZSTD with the default compression level, usually level 3
. Gives good compression typically as good
as gzip but runs in about 1/10 of the time.
ZSTD1
ZSTD but with compression level 1. Gives almost as good compression as ZSTD
but is about twice as
fast.
ZSTD2
ZSTD but with compression level 2.
ZSTD3
ZSTD but with compression level 3.
Default Value
Default is LZF
.
push.replication.compression-algorithm=LZF
Examples
If 42 push slaves are all sharing the same 1Gbps link to master than ZSTD1 might be used to save network resources and CPU resources:
push.replication.compression-algorithm=ZSTD1