cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marcus Eriksson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-6781) ByteBuffer write() methods for serializing sstables
Date Mon, 24 Mar 2014 11:37:43 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-6781?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13944941#comment-13944941
] 

Marcus Eriksson commented on CASSANDRA-6781:
--------------------------------------------

committed, thanks

> 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
>             Fix For: 2.1 beta2
>
>         Attachments: 6781.removeavro.txt
>
>
> 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.2#6252)

Mime
View raw message