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/06/10 11:11:21 UTC

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

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

Adrien Grand commented on CASSANDRA-5038:
-----------------------------------------

bq. One benefit to LZ4 is that the unsafe implementation isn't much slower than the native version; if we end up going to an incompatible version (or people run on some platform that Snappy/LZ4 native hasn't been created for), they won't have nearly the slowdown that Snappy has (or at least had, not sure if they've addressed that).

For your information [~cowtowncoder] ran his JVM compressor benchmark again recently, and indeed, it shows good performance numbers for both the native and the Java impl of LZ4: https://twitter.com/cowtowncoder/status/343881969697951744
                
> 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
>            Assignee: Adrien Grand
>            Priority: Minor
>             Fix For: 1.2.2
>
>         Attachments: CASSANDRA-5038.patch, CASSANDRA-5038.patch, 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