Ivan Rakov created IGNITE-7901:
----------------------------------

             Summary: Refactor Pages Write Throttling: introduce exponential 
throttle as separate class
                 Key: IGNITE-7901
                 URL: https://issues.apache.org/jira/browse/IGNITE-7901
             Project: Ignite
          Issue Type: Improvement
    Affects Versions: 2.5
            Reporter: Ivan Rakov
            Assignee: Dmitriy Pavlov


After IGNITE-7751 fix, we have three incarnations of Pages Write Throttle:

1) Only checkpoint buffer throttling - always on

2) Ratio based throttling - legacy

3) Speed based throttling - default when throttling is enabled

However, all three options use exponential throttling for preventing checkpoint 
buffer overflow (see PagesWriteSpeedBasedThrottle.ThrottleMode#EXPONENTIAL 
usages and isPageInCheckpoint branch of PagesWriteThrottle). 
For the sake of getting rid of copypaste, it would be better to refactor this 
and introduce exponential throttling to separate class. Two callbacks now will 
be called instead of one, but code will become nicer.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to