ICompressionRuntimeOptions Interface
Options for op compression.
To use, import via @fluidframework/container-runtime/legacy
.
For more information about our API support guarantees, see here.
Signature
export interface ICompressionRuntimeOptions
Properties
Property | Alerts | Modifiers | Type | Description |
---|---|---|---|---|
compressionAlgorithm | Alpha |
readonly |
CompressionAlgorithms | The compression algorithm that will be used to compress the op. By default the value is lz4 which is the only compression algorithm currently supported. |
minimumBatchSizeInBytes | Alpha |
readonly |
number | The value the batch's content size must exceed for the batch to be compressed. By default the value is 600 * 1024 = 614400 bytes. If the value is set to Infinity , compression will be disabled. |
Property Details
compressionAlgorithm
The compression algorithm that will be used to compress the op. By default the value is lz4
which is the only compression algorithm currently supported.
To use, import via @fluidframework/container-runtime/alpha
.
For more information about our API support guarantees, see here.
Signature
readonly compressionAlgorithm: CompressionAlgorithms;
Type: CompressionAlgorithms
minimumBatchSizeInBytes
The value the batch's content size must exceed for the batch to be compressed. By default the value is 600 * 1024 = 614400 bytes. If the value is set to Infinity
, compression will be disabled.
To use, import via @fluidframework/container-runtime/alpha
.
For more information about our API support guarantees, see here.
Signature
readonly minimumBatchSizeInBytes: number;
Type: number