You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Ananya Singh (Jira)" <ji...@apache.org> on 2022/02/23 04:51:00 UTC

[jira] [Created] (ZOOKEEPER-4476) Backport ZOOKEEPER-3179 for branch-3.5

Ananya Singh created ZOOKEEPER-4476:
---------------------------------------

             Summary: Backport ZOOKEEPER-3179 for branch-3.5
                 Key: ZOOKEEPER-4476
                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-4476
             Project: ZooKeeper
          Issue Type: Improvement
    Affects Versions: 3.5.9
            Reporter: Ananya Singh
            Assignee: Ananya Singh
             Fix For: 3.6.0


When the snapshot becomes larger, the periodically snapshot after certain number of txns will be more expensive. Which will in turn affect the maximum throughput we can support within SLA, because of the disk contention between snapshot and txn when they're on the same drive.
 
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.
 
Based on the production traffic, the performance various with different compress method as well, that's why we provided different implementations, we can select different compress method for different use cases.
 



--
This message was sent by Atlassian Jira
(v8.20.1#820001)