Skip to content
  • Lukasz Kotula's avatar
    397295c1
    WL#9252 - X Protocol connection compression · 397295c1
    Lukasz Kotula authored
    Description
    ===========
    
    X Protocol gains ability to compress data, where only protobuf payload can be
    compressed. This approach allows middle-ware software 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)
    * lz4-frame (LZ4)
    
    Depending on protocol tracking needs (tracking without decompression),
    following compression styles can be configured:
    
    * SINGLE - track individual X Protocol message (middle-ware knows how many:
               columns, rows, resultsets contains the server response)
    * MULTIPLE - track X Protocol message of different kind (middle-ware knows
                 that resultset has: non or at least one column, non or at least
                 on row, number or resultsets)
    * GROUP - track X Protocol message of different kind (middle-ware knows
                 only that a responce is send back)
    
    Administrator may disabled compression algorithms or styles.
    
    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>
    397295c1
    WL#9252 - X Protocol connection compression
    Lukasz Kotula authored
    Description
    ===========
    
    X Protocol gains ability to compress data, where only protobuf payload can be
    compressed. This approach allows middle-ware software 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)
    * lz4-frame (LZ4)
    
    Depending on protocol tracking needs (tracking without decompression),
    following compression styles can be configured:
    
    * SINGLE - track individual X Protocol message (middle-ware knows how many:
               columns, rows, resultsets contains the server response)
    * MULTIPLE - track X Protocol message of different kind (middle-ware knows
                 that resultset has: non or at least one column, non or at least
                 on row, number or resultsets)
    * GROUP - track X Protocol message of different kind (middle-ware knows
                 only that a responce is send back)
    
    Administrator may disabled compression algorithms or styles.
    
    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