You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jonathan Ellis (Assigned) (JIRA)" <ji...@apache.org> on 2012/03/31 07:20:45 UTC
[jira] [Assigned] (CASSANDRA-3617) Clean up and optimize Message
[ https://issues.apache.org/jira/browse/CASSANDRA-3617?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jonathan Ellis reassigned CASSANDRA-3617:
-----------------------------------------
Assignee: Jonathan Ellis (was: Yuki Morishita)
> Clean up and optimize Message
> -----------------------------
>
> Key: CASSANDRA-3617
> URL: https://issues.apache.org/jira/browse/CASSANDRA-3617
> Project: Cassandra
> Issue Type: Improvement
> Components: Core
> Reporter: Jonathan Ellis
> Assignee: Jonathan Ellis
> Fix For: 1.2
>
>
> The Message class has grown largely by accretion and it shows. There are several problems:
> - Outbound and inbound messages aren't really the same thing and should not be conflated
> - We pre-serialize message bodies to byte[], then copy those bytes onto the Socket buffer, instead of just keeping a reference to the object being serialized and then writing it out directly to the socket
> - MessagingService versioning is poorly encapsulating, scattering version variables and references to things like CachingMessageProducer across the codebase
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira