You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Patrick Hunt (JIRA)" <ji...@apache.org> on 2011/06/23 19:27:47 UTC

[jira] [Commented] (ZOOKEEPER-323) Log file reuse

    [ 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