You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Brian Nixon (JIRA)" <ji...@apache.org> on 2019/05/01 18:23:00 UTC

[jira] [Commented] (ZOOKEEPER-1651) Add support for compressed snapshot

    [ https://issues.apache.org/jira/browse/ZOOKEEPER-1651?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16831159#comment-16831159 ] 

Brian Nixon commented on ZOOKEEPER-1651:
----------------------------------------

This feature was accepted with ZOOKEEPER-3179. I'd suggest marking this ticket as resolved.

> Add support for compressed snapshot
> -----------------------------------
>
>                 Key: ZOOKEEPER-1651
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1651
>             Project: ZooKeeper
>          Issue Type: Improvement
>          Components: server
>            Reporter: Thawan Kooburat
>            Assignee: Brian Nixon
>            Priority: Major
>
> We want to keep many copies of snapshots on disk so that we can debug the problem afterward. However, the snapshot can be large, so we added a feature that allow the server to dump/load snapshot in a compressed format (snappy or gzip). This also benefit db loading and snapshotting time as well. 
> This is also depends on client workload. In one of our deployment where clients don't compress its data,  we found that snappy compression work best. The snapshot size is reduced from 381M to 65MB. Db loading/and snapshotting time is also reduced by 20%. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)