Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-3623

use MMapedBuffer in CompressedSegmentedFile.getSegment

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Won't Fix
    • Fix Version/s: 1.1.0
    • Component/s: None
    • Labels:

      Description

      CompressedSegmentedFile.getSegment seem to open a new file and doesnt seem to use the MMap and hence a higher CPU on the nodes and higher latencies on reads.

      This ticket is to implement the TODO mentioned in CompressedRandomAccessReader

      // TODO refactor this to separate concept of "buffer to avoid lots of read() syscalls" and "compression buffer"
      but i think a separate class for the Buffer will be better.

        Attachments

          Activity

            People

            • Assignee:
              vijay2win@yahoo.com Vijay
              Reporter:
              vijay2win@yahoo.com Vijay
              Reviewer:
              Yuki Morishita
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: