cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Ellis (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-3024) sstable and message varint encoding
Date Tue, 13 Sep 2011 03:46:08 GMT

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

Jonathan Ellis commented on CASSANDRA-3024:
-------------------------------------------

Interesting idea.  Seems like that might get tricky though where we are going from socket
to file or vice versa in Streaming.  And some places don't make sense to use vints, although
the only ones I can think of are in checksums.

To take a step back: how much does vint encoding actually buy us, with compression enabled?

> sstable and message varint encoding
> -----------------------------------
>
>                 Key: CASSANDRA-3024
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3024
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Jonathan Ellis
>            Priority: Minor
>             Fix For: 1.1
>
>
> We could save some sstable space by encoding longs and ints as vlong and vint, respectively.
 (Probably most "short" lengths would be better as vint as well.)

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

        

Mime
View raw message