Log file reuse
--------------

                 Key: ZOOKEEPER-323
                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-323
             Project: Zookeeper
          Issue Type: Improvement
          Components: server
            Reporter: Benjamin Reed


in some benchmarks i noticed that you can get much higher throughput using 
preallocated files rather than doing the grow-by-padding approach that we use. 
we should recycle log files that are no longer needed. this should give us a 
performance boost. it will also make the purgelog utility unnecessary. we 
should have a policy that we only keep X snapshots and associated logs and 
reuse older log files (and probably delete the older snapshots as well since 
the snapshot would be useless without the corresponding log file.)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to