You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Ariel Weisberg (JIRA)" <ji...@apache.org> on 2018/03/07 18:58:00 UTC

[jira] [Commented] (CASSANDRA-14296) Remove parameter length prefix from intra-cluster protocol

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

Ariel Weisberg commented on CASSANDRA-14296:
--------------------------------------------

Link to CircleCI run.

> Remove parameter length prefix from intra-cluster protocol
> ----------------------------------------------------------
>
>                 Key: CASSANDRA-14296
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-14296
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Streaming and Messaging
>            Reporter: Ariel Weisberg
>            Assignee: Ariel Weisberg
>            Priority: Major
>             Fix For: 4.0
>
>
> We don't seem to need this prefix. Saves 4 bytes per parameter and quite a bit of garbage per parameter. This also incidentally fixes an eclipse static analysis warning. If the length needs to be known then individual parameters can add the prefix themselves for whatever they want to serialize.
> Obviously pre-4.0 nodes will continue to use it.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org