You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Benedict (JIRA)" <ji...@apache.org> on 2014/02/27 15:19:19 UTC

[jira] [Created] (CASSANDRA-6781) ByteBuffer write() methods for serializing sstables

Benedict created CASSANDRA-6781:
-----------------------------------

             Summary: ByteBuffer write() methods for serializing sstables
                 Key: CASSANDRA-6781
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-6781
             Project: Cassandra
          Issue Type: Improvement
            Reporter: Benedict
            Assignee: Benedict
            Priority: Minor


As mentioned in CASSANDRA-6689, there may be some performance issues with writing sstables from offheap memtables. This is mostly plausibly caused by the single-byte-at-a-time write path for ByteBuffers, as we use DataOutput which only accepts byte[].

I propose extending DataOutput to include ByteBuffer methods, and to use this extended interface for serializing sstables instead.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)