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

Patrick Hunt commented on ZOOKEEPER-323:
----------------------------------------

Ben any update on this, have you made any progress towards a patch? Or provide 
insight for someone who might want to work on this?

> 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.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to