cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vijay (JIRA)" <>
Subject [jira] [Commented] (CASSANDRA-4139) Add varint encoding to Messaging service
Date Mon, 21 May 2012 22:46:41 GMT


Vijay commented on CASSANDRA-4139:

* Tried the implementation, We cannot have it in the socket level because of the backward
compatibility, we should wrap the connection only if the version is > 1.2 (which will change
over the period of a connection).
* One thing which we can do is to cache the object which wrapped around but the wrapper is
light weight so it should'nt be a lot of over head. 
* In addition to this I noticed some wired problem (connection disconnects while reading,
which is not the case when we are not caching) which some how breaks if i cache the objects
and while communicating via SSL (i pushed the code to
to reproduce change FBUtilities.getDataOutput to getCachedDataOut)

> Add varint encoding to Messaging service
> ----------------------------------------
>                 Key: CASSANDRA-4139
>                 URL:
>             Project: Cassandra
>          Issue Type: Sub-task
>          Components: Core
>            Reporter: Vijay
>            Assignee: Vijay
>             Fix For: 1.2
>         Attachments: 0001-CASSANDRA-4139-v1.patch, 0001-CASSANDRA-4139-v2.patch, 0001-CASSANDRA-4139-v3.patch,
0002-add-bytes-written-metric.patch, 4139-Test.rtf

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