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

Type specific compression

Agile BoardAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment