cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Ellis (JIRA)" <>
Subject [jira] [Commented] (CASSANDRA-3024) sstable varint encoding
Date Fri, 12 Aug 2011 22:57:27 GMT


Jonathan Ellis commented on CASSANDRA-3024:

For SSTable serialization start with SSTableWriter.append and follow the tendrils from there.

For Messages we're only? concerned with RowSerializer and the ones it touches.

For versioning look at Descriptor for the sstables, and MessagingService.version for the Messages.
 (All? the serializers used for Messages should already have a version parameter, e.g. RowSerializer.serialize,
but if you run across one that does not, go ahead and add it.)

> sstable varint encoding
> -----------------------
>                 Key: CASSANDRA-3024
>                 URL:
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Jonathan Ellis
>            Priority: Minor
>             Fix For: 1.0
> 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:


View raw message