From dev-return-1877-archive-asf-public=cust-asf.ponee.io@tephra.incubator.apache.org Tue Jan 9 03:06:04 2018 Return-Path: X-Original-To: archive-asf-public@eu.ponee.io Delivered-To: archive-asf-public@eu.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by mx-eu-01.ponee.io (Postfix) with ESMTP id 06E55180607 for ; Tue, 9 Jan 2018 03:06:04 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id EB311160C3E; Tue, 9 Jan 2018 02:06:03 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 44094160C2C for ; Tue, 9 Jan 2018 03:06:03 +0100 (CET) Received: (qmail 72176 invoked by uid 500); 9 Jan 2018 02:06:02 -0000 Mailing-List: contact dev-help@tephra.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@tephra.incubator.apache.org Delivered-To: mailing list dev@tephra.incubator.apache.org Received: (qmail 72165 invoked by uid 99); 9 Jan 2018 02:06:02 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Jan 2018 02:06:02 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id A1A8BC409E for ; Tue, 9 Jan 2018 02:06:01 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -100.711 X-Spam-Level: X-Spam-Status: No, score=-100.711 tagged_above=-999 required=6.31 tests=[RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id WDdE6pNIH04b for ; Tue, 9 Jan 2018 02:06:01 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id D307D5FB16 for ; Tue, 9 Jan 2018 02:06:00 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 592D6E01A8 for ; Tue, 9 Jan 2018 02:06:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 14EF2212F8 for ; Tue, 9 Jan 2018 02:06:00 +0000 (UTC) Date: Tue, 9 Jan 2018 02:06:00 +0000 (UTC) From: "Patrick Xiaoman Huang (JIRA)" To: dev@tephra.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (TEPHRA-246) Implement better transaction codecs MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/TEPHRA-246?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16317541#comment-16317541 ] Patrick Xiaoman Huang commented on TEPHRA-246: ---------------------------------------------- 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)