Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-14956

MemoryMappedBoundedData Compressed Buffer Slicer

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Duplicate
    • None
    • None
    • Runtime / Network
    • None

    Description

      MemoryMappedBoundedData, implementation of BoundedData simply through ByteBuffers backed by memory, uses CompressedBufferSlicer which is implementation of BoundedData.Reader to slice next buffer with uncompress. CompressedBufferSlicer reads BoundedData by LZ4SafeDecompressor decompressing byte buffer.When FileChannelMemoryMappedBoundedData tries to write buffer, this uses LZ4Compressor to compress buffer to improve I/O performance.

      Compress read process:

      Compress write process:

      CPU/IO performance comparsion chart:

       

      Attachments

        1. Compress-Write.png
          74 kB
          Nicholas Jiang
        2. Compress-Read.png
          161 kB
          Nicholas Jiang
        3. CPU-IO.png
          49 kB
          Nicholas Jiang

        Activity

          People

            Unassigned Unassigned
            nicholasjiang Nicholas Jiang
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: