cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stu Hood (JIRA)" <>
Subject [jira] [Created] (CASSANDRA-2398) Type specific compression
Date Mon, 28 Mar 2011 19:32:05 GMT
Type specific compression

                 Key: CASSANDRA-2398
             Project: Cassandra
          Issue Type: New Feature
          Components: Core
    Affects Versions: 0.8
            Reporter: Stu Hood

Cassandra has a lot of locations that are ripe for type specific compression. A short list:

 * Keys compressed as BytesType, which could default to LZO/LZMA
 * Offsets (delta and varint encoding)
 * Column names added by 2319
 * Keys, columns, timestamps: see

A basic interface for type specific compression could be as simple as:
public void compress(int version, Iterator<ByteBuffer> from, int count, DataOutput to)
throws IOException
public void decompress(int version, DataInput from, List<ByteBuffer> to) throws IOException

This message is automatically generated by JIRA.
For more information on JIRA, see:

View raw message