[
https://issues.apache.org/jira/browse/TEPHRA-246?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16317541#comment-16317541
]
Patrick Xiaoman Huang edited comment on TEPHRA-246 at 1/9/18 6:13 AM:
----------------------------------------------------------------------
Maybe we can try TCompactProtocol first.
Default TBinaryProtocol write long with 8byte, and TCompactProtocol transform
i64 to zigzag int, then write with 10byte var int.
was (Author: mk926):
Maybe we can try TCompactProtocol first.
> Implement better transaction codecs
> -----------------------------------
>
> Key: TEPHRA-246
> URL: https://issues.apache.org/jira/browse/TEPHRA-246
> Project: Tephra
> Issue Type: Improvement
> Components: core, manager
> Affects Versions: 0.12.0-incubating
> Reporter: Andreas Neumann
> Assignee: Andreas Neumann
>
> The current codec simply uses Thrift. However, with large invalid lists, the
> encoded byte array cvan become very large, Using compression techniques such
> as delta encoding, variable length integer encoding, or simple compression
> can greatly reduce the size of the encoded byte array, as well as the time it
> takes to encode, transmit, and decode the transaction.
> This can be applied to the transactions in the Thrift protocol as well as to
> the transactions that are attached to the HBase operations.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)