You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Ivan Rakov (JIRA)" <ji...@apache.org> on 2018/03/07 13:36:00 UTC

[jira] [Updated] (IGNITE-7901) Refactor Pages Write Throttle: introduce exponential throttle as separate class

     [ 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)