Skip to main content

ICompressionRuntimeOptions Interface

Options for op compression.

This API is provided for existing users, but is not recommended for new users.

To use, import via @fluidframework/container-runtime/legacy.

For more information about our API support guarantees, see here.

Signature​

export interface ICompressionRuntimeOptions

Properties​

PropertyAlertsModifiersTypeDescription
compressionAlgorithmBetareadonlyCompressionAlgorithmsThe compression algorithm that will be used to compress the op. By default the value is lz4 which is the only compression algorithm currently supported.
minimumBatchSizeInBytesBetareadonlynumberThe 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.

This API is provided for existing users, but is not recommended for new users.

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.

This API is provided for existing users, but is not recommended for new users.

For more information about our API support guarantees, see here.

Signature​

readonly minimumBatchSizeInBytes: number;

Type: number