You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Thawan Kooburat (JIRA)" <ji...@apache.org> on 2013/02/26 00:58:12 UTC

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

Thawan Kooburat created ZOOKEEPER-1651:
------------------------------------------

             Summary: 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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira