Configuration Guide

Compressed TCP Options

# Reference <-

## compression (context) <-

  This option enables compression and sets the desired data compression algorithm on all TCP links established within the context.

  This includes but may not be limited to TCP transports, Late Join, and Request/Response. Currently, only LZ4 lossless data compression is supported.

  For more information, see Compressed TCP.

  Scope: | context
  Type: | int
  When to Set: | Can only be set during object initialization.
  Version: | This option was implemented in UM 6.9.

  String value | Integer value | Description
  --- | --- | ---
  "none" | LBM_CTX_ATTR_COMPRESSION_NONE | No compression will be implemented. Default for all.
  "lz4" | LBM_CTX_ATTR_COMPRESSION_LZ4 | All TCP data will be compressed using LZ4.