cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pavel Yaskevich (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CASSANDRA-1714) zero-copy reads
Date Fri, 07 Jan 2011 14:51:46 GMT

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

Pavel Yaskevich commented on CASSANDRA-1714:
--------------------------------------------

I think we can do the following thing - I or you can create a task "clean all ByteBuffer.array()/arrayOffset()
usages except in ByteBufferUtil" and I will provide a separate patch for that and then I will
submit a patch for this task, because all those modifications I made in Columns/Serializers
are needed to work with updated model aka readBytes. WDYT?

> zero-copy reads
> ---------------
>
>                 Key: CASSANDRA-1714
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1714
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Jonathan Ellis
>            Assignee: Pavel Yaskevich
>             Fix For: 0.7.1
>
>         Attachments: CASSANDRA-1714-v2.patch, CASSANDRA-1714-v3.patch, CASSANDRA-1714-v4-trunk.patch,
CASSANDRA-1714.patch, zerocopy.txt
>
>   Original Estimate: 32h
>  Remaining Estimate: 32h
>
> Since we are already using mmap'd ByteBuffers in MappedFileDataInput we should be able
to do zero-copy reads (via buffer.slice()), which would give us better performance than CASSANDRA-1651
without having to worry about buffer management.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message