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

Pavel Yaskevich commented on CASSANDRA-47:
------------------------------------------

I did that for flexibility to use CompressedDataFile without relaying on index 
file, that index is read only once upon CompressedSegmentedFile completion and 
then just gets passed to constructor in CSF.getSegment() so even if file is 
very big like 5-7 GB it will only make about 1 megabyte overhead of keeping 
that index in memory. Index also allows us to skip reading additional 4 bytes 
of chunk length from file every time we do re-buffer.

> SSTable compression
> -------------------
>
>                 Key: CASSANDRA-47
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-47
>             Project: Cassandra
>          Issue Type: New Feature
>          Components: Core
>            Reporter: Jonathan Ellis
>            Assignee: Pavel Yaskevich
>              Labels: compression
>             Fix For: 1.0
>
>         Attachments: CASSANDRA-47-v2.patch, CASSANDRA-47.patch, 
> snappy-java-1.0.3-rc4.jar
>
>
> We should be able to do SSTable compression which would trade CPU for I/O 
> (almost always a good trade).

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to