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

Sylvain Lebresne commented on CASSANDRA-3015:
---------------------------------------------

Alright, I'm fine with going with lzf only if that sounds simpler for now. I'm 
a little bit surprised that the Snappy streams are broken so badly, but ok.

Btw, this is really only making streams compressed. Did we consider making the 
inter-node messages compressed ? I suspect that while very small message may 
not be worth it, mutations, reads and other merkle tree messages could make use 
of it (especially for cross-datacenter transfer).

On the 'Yet Another Config parameter' debate, I'll note that since 1.0 is not 
out, we could still have the option to replace the 'compression' and 
'compression_options' config by just one 'compression_options' like:
{noformat}
  compression_options = { sstable_compression: SnappyCompressor, 
block_length_kb: 32 }
{noformat}
which would allow us later to allow
{noformat}
  compression_options = { sstable_compression: SnappyCompressor, 
block_length_kb: 32, stream_compression: LZFCompressor }
{noformat}
which imho is fine because (1) it doesn't pollute CfDef and (2) leave the 
option of documenting this only in advanced documentation (if the fear is to 
not overwhelm new users). Yes, that would make it less like how we deal with 
Strategy, but I for one don't care if that give us more flexibility.

> Inter-Node Compression
> ----------------------
>
>                 Key: CASSANDRA-3015
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3015
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Benjamin Coverston
>            Assignee: Pavel Yaskevich
>              Labels: streaming
>             Fix For: 1.0
>
>         Attachments: 0001-stream-based-compression.patch, 
> CASSANDRA-3015.patch, compress-lzf-0.8.4.jar
>
>
> Although we have CASSANDRA-47 for on-disk the code used for streaming 
> actually sends un-compressed blocks over the wire. I propose we compress this 
> data.

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

        

Reply via email to