From dev-return-1953-archive-asf-public=cust-asf.ponee.io@tephra.incubator.apache.org Tue Jan 16 18:47: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 9348018065B for ; Tue, 16 Jan 2018 18:47:04 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 83E92160C47; Tue, 16 Jan 2018 17:47:04 +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 C9287160C1D for ; Tue, 16 Jan 2018 18:47:03 +0100 (CET) Received: (qmail 19810 invoked by uid 500); 16 Jan 2018 17:47:03 -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 19798 invoked by uid 99); 16 Jan 2018 17:47:03 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Jan 2018 17:47:02 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 8ACA91A2CEA for ; Tue, 16 Jan 2018 17:47:02 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.911 X-Spam-Level: X-Spam-Status: No, score=-99.911 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, 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 (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id qkMYD1X26BoM for ; Tue, 16 Jan 2018 17:47: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 707D95FB5E for ; Tue, 16 Jan 2018 17:47:01 +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 03FF9E05FD for ; Tue, 16 Jan 2018 17:47:01 +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 B5B57212F5 for ; Tue, 16 Jan 2018 17:47:00 +0000 (UTC) Date: Tue, 16 Jan 2018 17:47:00 +0000 (UTC) From: "Andreas Neumann (JIRA)" To: dev@tephra.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (TEPHRA-247) Avoid encoding the transaction multiple times MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/TEPHRA-247?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1632= 7452#comment-16327452 ]=20 Andreas Neumann commented on TEPHRA-247: ---------------------------------------- Yes, the in-progress list can grow large. A would think it will rarely grow= larger than a few thousand, and it will always reflect the load on the sys= tem. The invalid list, however, grows persistently and will not shrink when the = load goes down. We have seen some instances where an ill-behaved client cou= ld create 10s of 1000s of invalids per day, and soon you have hundreds of t= housands. These then impact the performance of the system even when the loa= d is low. That is why we are focussing more on the invalid list.=C2=A0 Do you have ideas on how to reduce the in-progress list overhead? > Avoid encoding the transaction multiple times > --------------------------------------------- > > Key: TEPHRA-247 > URL: https://issues.apache.org/jira/browse/TEPHRA-247 > Project: Tephra > Issue Type: Improvement > Components: core, manager > Affects Versions: 0.12.0-incubating > Reporter: Andreas Neumann > Assignee: Andreas Neumann > Priority: Major > Attachments: design.jpg > > > Currently, the same transaction object is encoded again and again for eve= ry Get performed in HBase. It would be better to cache the encoded transact= ion for the duration of the transaction and reuse it,=20 -- This message was sent by Atlassian JIRA (v7.6.3#76005)