Qatzip Compressor (proto)

This extension has the qualified name envoy.compression.qatzip.compressor

Note

This extension is only available in contrib images.

Note

This extension is functional but has not had substantial production burn time, use only with this caveat.

This extension is intended to be robust against both untrusted downstream and upstream traffic.

Tip

This extension extends and can be used with the following extension category:

Qatzip configuration overview.

extensions.compression.qatzip.compressor.v3alpha.Qatzip

[extensions.compression.qatzip.compressor.v3alpha.Qatzip proto]

{
  "compression_level": {...},
  "hardware_buffer_size": ...,
  "input_size_threshold": {...},
  "stream_buffer_size": {...},
  "chunk_size": {...}
}
compression_level

(UInt32Value) Value from 1 to 9 that controls the main compression speed-density lever. The higher quality, the slower compression. The default value is 1.

hardware_buffer_size

(extensions.compression.qatzip.compressor.v3alpha.Qatzip.HardwareBufferSize) A size of qat hardware buffer. This field will be set to “DEFAULT” if not specified.

input_size_threshold

(UInt32Value) Threshold of compression service’s input size for software failover. If the size of input request less than the threshold, qatzip will route the request to software compressor. The default value is 1024. The maximum value is 512*1024.

stream_buffer_size

(UInt32Value) A size of stream buffer. The default value is 128 * 1024. The maximum value is 2*1024*1024 - 5*1024

chunk_size

(UInt32Value) Value for compressor’s next output buffer. If not set, defaults to 4096.

Enum extensions.compression.qatzip.compressor.v3alpha.Qatzip.HardwareBufferSize

[extensions.compression.qatzip.compressor.v3alpha.Qatzip.HardwareBufferSize proto]

DEFAULT

(DEFAULT)

SZ_4K

SZ_8K

SZ_32K

SZ_64K

SZ_128K

SZ_512K