[ 
https://issues.apache.org/jira/browse/CASSANDRA-19927?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17882520#comment-17882520
 ] 

Francisco Guerrero commented on CASSANDRA-19927:
------------------------------------------------

+1 thanks for the patch 

> [Analytics] Deprecate old compression cache and move to using cache of 
> CompressionMetadata
> ------------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-19927
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-19927
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Analytics Library
>            Reporter: James Berragan
>            Assignee: James Berragan
>            Priority: Normal
>          Time Spent: 50m
>  Remaining Estimate: 0h
>
> 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.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to