[ 
https://issues.apache.org/jira/browse/CASSANDRA-1714?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jonathan Ellis updated CASSANDRA-1714:
--------------------------------------

    Attachment: 1714-v5-07.txt

v5 attached against 0.7, w/ tests passing.

Almost all the getArray calls were for data about to be written to a 
DataOutput.  Replaced these with BBU.write or BBU.writeWithLength calls (moved 
& renamed from FBU).

> 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: 1714-v5-07.txt, CASSANDRA-1714-0.7.patch, 
> CASSANDRA-1714-v2.patch, CASSANDRA-1714-v3.patch, 
> CASSANDRA-1714-v4-trunk.patch, CASSANDRA-1714.patch, zerocopy.txt
>
>   Original Estimate: 32h
>          Time Spent: 32h
>  Remaining Estimate: 0h
>
> 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.

Reply via email to