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

[Analytics] Deprecate old compression cache and move to using cache of CompressionMetadata

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • NA
    • Analytics Library
    • None

    Description

      The compression cache currently caches a single byte array for the CompressionInfo.db file, this is a problem for large files as it involves allocating and garbage collecting large memory segments, but also means that every consumer of the bytes will instantiate a CompressionMetadata object and allocate an individual BigLongArray to store the chunk offsets. This is unnecessary as the CompressionMetadata is immutable and can be re-used.

      Attachments

        Activity

          People

            jberragan James Berragan
            jberragan James Berragan
            James Berragan
            Francisco Guerrero, Yifan Cai
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 1h
                1h