You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Sylvain Lebresne (JIRA)" <ji...@apache.org> on 2013/06/19 17:06:21 UTC

[jira] [Created] (CASSANDRA-5664) Improve serialization in the native protocol

Sylvain Lebresne created CASSANDRA-5664:
-------------------------------------------

             Summary: Improve serialization in the native protocol
                 Key: CASSANDRA-5664
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-5664
             Project: Cassandra
          Issue Type: Improvement
            Reporter: Sylvain Lebresne
            Priority: Minor


Message serialization in the native protocol currently make a Netty's ChannelBuffers.wrappedBuffer(). The rational was to avoid copying of the values bytes when such value are biggish. This has a cost however, especially with lots of small values, and as suggested in CASSANDRA-5422, this might well be a more common scenario for Cassandra, so let's consider directly serializing in a newly allocated buffer.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira