cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benedict (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (CASSANDRA-9499) Introduce writeVInt method to DataOutputStreamPlus
Date Tue, 23 Jun 2015 10:12:01 GMT

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

Benedict edited comment on CASSANDRA-9499 at 6/23/15 10:11 AM:
---------------------------------------------------------------

[~snazy]: While reviewing this, I noticed that OHC provides a DataInput/DataOutput, which
results in pretty inefficient serialization between the two (especially since we wrap, and
do vint encoding). Could we update its interface to provide a ByteBuffer instead? This would
also permit us to remove two boiler-plate forwarding classes, which would be nice.


was (Author: benedict):
[~snazy]: While reviewing this, I noticed that OHC provides a DataInput/DataOutput, which
results in pretty inefficient serialization between the two (especially since we wrap, and
do vint encoding). Could we update its interface to provide a ByteBuffer instead?

> Introduce writeVInt method to DataOutputStreamPlus
> --------------------------------------------------
>
>                 Key: CASSANDRA-9499
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-9499
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Benedict
>            Assignee: Ariel Weisberg
>            Priority: Minor
>             Fix For: 3.0 beta 1
>
>
> CASSANDRA-8099 really could do with a writeVInt method, for both fixing CASSANDRA-9498
but also efficiently encoding timestamp/deletion deltas. It should be possible to make an
especially efficient implementation against BufferedDataOutputStreamPlus.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message