Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-1969 Use BB for row cache - To Improve GC performance.
  3. CASSANDRA-2167

Add a deserialize(ByteBuffer) method to ColumnFamilySerializer

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Low
    • Resolution: Not A Problem
    • None
    • None
    • None

    Description

      by adding deserialize bytebuffer in the columnFamilySerializer we might be able to avoid copying of the bytes[] while deserializing the CF.

      This can be done using....
      ByteBuffer buff = ByteBuffer.wrap(bb.array(), bb.position(), length);

      This is an improvement on "https://issues.apache.org/jira/browse/CASSANDRA-1969" Plz see jonathan's comment.

      Attachments

        1. 0001-Reduce-Byte-Copy-Streams.txt
          5 kB
          Vijay
        2. 0002-Reduce-Byte-Copy-BBUtil.txt
          2 kB
          Vijay
        3. 0003-Reduce-BB-Copy.txt
          5 kB
          Vijay

        Activity

          People

            Unassigned Unassigned
            vijay2win@yahoo.com Vijay
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: