You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Adrien Grand (JIRA)" <ji...@apache.org> on 2013/01/08 17:46:13 UTC

[jira] [Updated] (CASSANDRA-5038) LZ4Compressor

     [ https://issues.apache.org/jira/browse/CASSANDRA-5038?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Adrien Grand updated CASSANDRA-5038:
------------------------------------

    Attachment: CASSANDRA-5038.patch

I performed a first release of lz4-java yesterday, here is a patch with tests that adds support for lz4 compression. You need to add the lz4 JAR to the lib directory (http://repo1.maven.org/maven2/net/jpountz/lz4/lz4/1.0.0/lz4-1.0.0.jar) before applying it.

This patch is very similar to Jake's Compressor impl, and I especially copied the {{supportedOptions}} method to return {{crc_check_chance}}. What does it change to declare this option as supported? ({{DeflateCompressor}} and {{SnappyCompressor}} just return an empty set.)

Does Cassandra have integration tests that we could try to run with this new compressor?
                
> LZ4Compressor
> -------------
>
>                 Key: CASSANDRA-5038
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-5038
>             Project: Cassandra
>          Issue Type: New Feature
>          Components: Core
>            Reporter: T Jake Luciani
>            Priority: Minor
>             Fix For: 1.2.2
>
>         Attachments: CASSANDRA-5038.patch, LZ4Compressor.java, lz4-java.jar
>
>
> LZ4 is a new compression algo that's ~2x faster than Snappy.
> [~jpountz] has written a nice java port which includes a misc.Unsafe version that performs >= than our java snappy version.
> Details at http://blog.jpountz.net/post/28092106032/wow-lz4-is-fast
> The nice thing is this should work with java7 and be more portable.
> We can also fallback the pure java impl

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira