cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sylvain Lebresne (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-5765) add an lz4 implementation of FrameCompressor for lz4 compressed native cql protocol
Date Thu, 18 Jul 2013 15:10:48 GMT

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

Sylvain Lebresne updated CASSANDRA-5765:
----------------------------------------

    Attachment: 5765.txt

Attaching patch for the native protocol. I initially wanted to reuse the ICompressor code,
but realized that it was layouting the uncompressed length in front of the compressed bytes
(which is fine in itself) in little-endian order. Now, this is fine for the sstabes, but the
native protocol specify that it uses big-endian everywhere, so it bugs me to make an exception
here. So the new FrameCompressor don't reuse the ICompressor (which is not really a big deal
at the end of the day, both as slim wrapper over the actual lz4 implementation).
                
> add an lz4 implementation of FrameCompressor for lz4 compressed native cql protocol
> -----------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-5765
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-5765
>             Project: Cassandra
>          Issue Type: New Feature
>          Components: Core, Drivers
>    Affects Versions: 2.0 beta 1
>            Reporter: Aaron Daubman
>            Priority: Minor
>              Labels: compression, lz4, native_protocol
>             Fix For: 2.0
>
>         Attachments: 5765.txt
>
>
> In addition to the current snappy native client compression support, it would be nice
to add lz4 as an option now that lz4 has been vetted for inclusion in CASSANDRA-5038.
> This would enable PYTHON-1 for the python-driver:
> https://datastax-oss.atlassian.net/browse/PYTHON-1

--
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

Mime
View raw message