Snappy Compression
data class SnappyCompression(snappyCompression: Boolean) : LevelDBOptions
Content copied to clipboard
Whether to compress blocks using the Snappy compression algorithm.
Snappy compression gives lightweight but fast compression.
Typical speeds of Snappy compression on an Intel(R) Core(TM)2 2.4GHz:
~200-500MB/s compression
~400-800MB/s decompression
Note that these speeds are significantly faster than most persistent storage speeds, and therefore it is typically never worth switching off. Even if the input data is incompressible, the Snappy compression implementation will efficiently detect that and will switch to uncompressed mode.
This parameter can be changed dynamically.
(Default: true)
Constructors
SnappyCompression
Link copied to clipboard
Properties
snappyCompression
Link copied to clipboard