From dev-return-80054-archive-asf-public=cust-asf.ponee.io@zookeeper.apache.org Wed Apr 10 11:20:02 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id 78EE9180626 for ; Wed, 10 Apr 2019 13:20:02 +0200 (CEST) Received: (qmail 58094 invoked by uid 500); 10 Apr 2019 11:20:01 -0000 Mailing-List: contact dev-help@zookeeper.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@zookeeper.apache.org Delivered-To: mailing list dev@zookeeper.apache.org Received: (qmail 58073 invoked by uid 99); 10 Apr 2019 11:20:01 -0000 Received: from mailrelay1-us-west.apache.org (HELO mailrelay1-us-west.apache.org) (209.188.14.139) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Apr 2019 11:20:01 +0000 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 E5FA5E2A55 for ; Wed, 10 Apr 2019 11:20: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 79CD62459C for ; Wed, 10 Apr 2019 11:20:00 +0000 (UTC) Date: Wed, 10 Apr 2019 11:20:00 +0000 (UTC) From: "Andor Molnar (JIRA)" To: dev@zookeeper.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (ZOOKEEPER-3179) Add snapshot compression to reduce the disk IO 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/ZOOKEEPER-3179?page=3Dcom.atla= ssian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andor Molnar resolved ZOOKEEPER-3179. ------------------------------------- Resolution: Fixed Issue resolved by pull request 690 [https://github.com/apache/zookeeper/pull/690] > Add snapshot compression to reduce the disk IO > ---------------------------------------------- > > Key: ZOOKEEPER-3179 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-3179 > Project: ZooKeeper > Issue Type: Improvement > Reporter: Fangmin Lv > Assignee: Yisong Yue > Priority: Major > Labels: pull-request-available > Fix For: 3.6.0 > > Time Spent: 4.5h > Remaining Estimate: 0h > > When the snapshot becomes larger, the periodically snapshot after certain= number of txns=C2=A0will be more expensive. Which will in turn affect the = maximum throughput we can support within SLA, because of the disk contentio= n between snapshot and txn when they're on the same drive. > =C2=A0 > With compression like zstd/snappy/gzip, the actual snapshot size could be= much smaller, the compress ratio depends on the actual data. It might make= the recovery time (loading from disk) faster in some cases, but will take = longer sometimes because of the extra time used to compress/decompress. > =C2=A0 > Based on the production traffic, the performance various=C2=A0with differ= ent compress method as well, that's why we provided different implementatio= ns,=C2=A0we can select=C2=A0different=C2=A0compress method for different us= e cases. > =C2=A0 -- This message was sent by Atlassian JIRA (v7.6.3#76005)