[ 
https://issues.apache.org/jira/browse/IGNITE-7901?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ivan Rakov updated IGNITE-7901:
-------------------------------
    Summary: Refactor Pages Write Throttle: introduce exponential throttle as 
separate class  (was: Refactor Pages Write Throttling: introduce exponential 
throttle as separate class)

> Refactor Pages Write Throttle: 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
>            Priority: Major
>
> 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