Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-2398

Type specific compression

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Normal
    • Resolution: Later
    • Fix Version/s: None
    • Component/s: None
    • Labels:

      Description

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

      Indexes

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

      Data

      A basic interface for type specific compression could be as simple as:

      public void compress(int version, final List<ByteBuffer> from, DataOutput to) throws IOException
      public void decompress(int version, DataInput from, List<ByteBuffer> to) throws IOException
      public void skip(int version, DataInput from) throws IOException
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                stuhood Stu Hood
                Reviewers:
                Sylvain Lebresne
              • Votes:
                2 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: