[
https://issues.apache.org/jira/browse/ZOOKEEPER-1651?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14189919#comment-14189919
]
Erik Forsberg commented on ZOOKEEPER-1651:
------------------------------------------
You write that you added this feature. Are you able to share the patch for this
feature? Submitting a patch I think will greatly increase the chance of it
becoming a feature in official released versions.
> 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: Thawan Kooburat
>
> 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
(v6.3.4#6332)