LZ4 if not sure what mode to pick.
“
Modes
Both LZ4 and ZSTD are made by same author, but with different tradeoffs.
From Facebook benchmarks:
Block
Header is (raw_size + data_size + mode), raw size consists of len(header + compressed_data).
Checksum is
hash(header + compressed_data), using ClickHouse CityHash.
None mode
If None mode is used,compressed_data is equal to original data.
No compression mode is useful to ensure additional data integrity with checksums, because
hashing overhead is negligible.