You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bookkeeper.apache.org by "Andrey Yegorov (JIRA)" <ji...@apache.org> on 2017/02/14 02:35:41 UTC

[jira] [Created] (BOOKKEEPER-1005) make MajorCompaction and MinorCompactions controlled by at least time of the day/day of the week

Andrey Yegorov created BOOKKEEPER-1005:
------------------------------------------

             Summary: make MajorCompaction and MinorCompactions controlled by at least time of the day/day of the week
                 Key: BOOKKEEPER-1005
                 URL: https://issues.apache.org/jira/browse/BOOKKEEPER-1005
             Project: Bookkeeper
          Issue Type: New Feature
          Components: bookkeeper-server
    Affects Versions: 4.5.0
            Reporter: Andrey Yegorov
            Priority: Minor


MajorCompaction and Minor Compactions are strictly frequency based.
They should be at least time of the day based.

Ideally we should run longer compactions during low system load in background, and if the system load raises, reduce the compaction depending on the disk availability.
Simpler first step would be to schedule "deeper" compaction at the times of the day/days of the week with typically lower load. 
i.e. set major compaction threshold to 0.4 normally, 0.6 at night/weekdays and 0.8 at night/Saturday.




--
This message was sent by Atlassian JIRA
(v6.3.15#6346)