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] [Resolved] (CASSANDRA-3254) MessagingService sends blank bytes
Date Sun, 25 Sep 2011 01:32:26 GMT

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

Jonathan Ellis resolved CASSANDRA-3254.
---------------------------------------

    Resolution: Won't Fix

Thanks a ton for exploring this. Sorry to be a hardass but it looks like the quick fix is
only a win for some workloads, and the more complete one is more than I'm comfortable with
for the stable release series (especially with 1.0 right around the corner if you need the
optimization).

> MessagingService sends blank bytes
> ----------------------------------
>
>                 Key: CASSANDRA-3254
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3254
>             Project: Cassandra
>          Issue Type: Bug
>    Affects Versions: 0.8.6
>            Reporter: Greg Hinkle
>         Attachments: cassandra-0.8-3254-v2.txt, cassandra-0.8-3254.txt
>
>
> MessagingService is calling DataOutputBuffer.getData() instead of .asByteArray() in two
places. This results in always sending the full buffer size of at least 128 bytes even if
the message is smaller. For messages like gossip and single col mutations its around 40 to
80 bytes wasted per message.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message