Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Duplicate
-
None
-
None
-
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: