Skip to content
  • Lukasz Kotula's avatar
    8a612540
    WL#9252 - X Protocol connection compression · 8a612540
    Lukasz Kotula authored
    Description
    ===========
    
    X Protocol gains ability to compress data, still only on X Protocol frame level
    This functionality allows middle-ware to track X Protocol flow
    without wasting CPU time on decompression, additionally server may choose not
    to compress important messages like global-notices or errors.
    
    Client application may configure following compression algorithms:
    
    * zlib (DEFLATE_STREAM)
    * lz4-frame (LZ4_MESSAGE)
    
    Depending on protocol tracking needs, following compression options
    may be configured:
    
    * server_max_combine_messages - defines maximum number of X Protocol frames
      that may be placed into single compressed frame.
    * server_combine_mixed_messages - defines if single compressed frame may
      include X Protocol frames of different type.
    
    Administrator may disabled compression algorithms.
    
    RB: 22235
    Reviewed by: Grzegorz Szwarc <grzegorz.szwarc@oracle.com>
    Reviewed by: Tomasz Stepniak <tomasz.s.stepniak@oracle.com>
    Approved by Shiva Shankar <shiva.y.shankar@oracle.com>
    8a612540
    WL#9252 - X Protocol connection compression
    Lukasz Kotula authored
    Description
    ===========
    
    X Protocol gains ability to compress data, still only on X Protocol frame level
    This functionality allows middle-ware to track X Protocol flow
    without wasting CPU time on decompression, additionally server may choose not
    to compress important messages like global-notices or errors.
    
    Client application may configure following compression algorithms:
    
    * zlib (DEFLATE_STREAM)
    * lz4-frame (LZ4_MESSAGE)
    
    Depending on protocol tracking needs, following compression options
    may be configured:
    
    * server_max_combine_messages - defines maximum number of X Protocol frames
      that may be placed into single compressed frame.
    * server_combine_mixed_messages - defines if single compressed frame may
      include X Protocol frames of different type.
    
    Administrator may disabled compression algorithms.
    
    RB: 22235
    Reviewed by: Grzegorz Szwarc <grzegorz.szwarc@oracle.com>
    Reviewed by: Tomasz Stepniak <tomasz.s.stepniak@oracle.com>
    Approved by Shiva Shankar <shiva.y.shankar@oracle.com>
Loading