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

Type specific compression

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Normal
    • Resolution: Later
    • None
    • None

    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

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

              Dates

                Created:
                Updated:
                Resolved: