cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Ellis (JIRA)" <>
Subject [jira] [Updated] (CASSANDRA-4247) More-efficient serialization for IndexScanCommand and RangeSliceCommand
Date Sat, 19 May 2012 16:39:40 GMT


Jonathan Ellis updated CASSANDRA-4247:

    Attachment: 4247-v2.txt

Committed 0002.

0001 gets us about halfway there; on the write path for RSCS, serialize(expr).length in serializedSize
still has to write it out to a byte[] that we promptly discard.

v2 cuts Thrift serialization out entirely so we can calculate size without creating a byte[]
> More-efficient serialization for IndexScanCommand and RangeSliceCommand
> -----------------------------------------------------------------------
>                 Key: CASSANDRA-4247
>                 URL:
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Jonathan Ellis
>            Assignee: Yuki Morishita
>            Priority: Minor
>             Fix For: 1.2
>         Attachments: 0001-De-serialize-thrift-object-directly-from-to-stream.patch, 0002-Fix-SerializationsTest.patch,
> These two classes embed a Thrift struct to simplify de/serialization. This means we serialize
to byte[] twice on the write path: once to get the size, and again to actually send the message.
> We should serialize manually like the other commands in VERSION_12.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message