cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Ellis (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CASSANDRA-1714) zero-copy reads
Date Thu, 13 Jan 2011 18:59:46 GMT

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

Jonathan Ellis commented on CASSANDRA-1714:
-------------------------------------------

won't the buffers for column name / value in row cache be coming from MFDI?

(we don't care about truncate et al, but we don't want to keep the mappedbytebuffers alive
post-compaction, so we do want to copy for that reason)

> 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.


Mime
View raw message