You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ignite.apache.org by GitBox <gi...@apache.org> on 2021/11/16 06:52:22 UTC

[GitHub] [ignite] rpuch commented on pull request #2710: IGNITE-6334 Throttle writing threads during ongoing checkpoint

rpuch commented on pull request #2710:
URL: https://github.com/apache/ignite/pull/2710#issuecomment-969929264


   Just a note for future archeologists: https://issues.apache.org/jira/browse/IGNITE-6334 mentions Token Bucket algorithm, but in reality this is not what was implemented. In the Token Bucket algorithm, non-complying requests are delayed till they become complying (so, in our case, this would mean wait till the memory resources we protect become available). But in the code, a different approach is used: when the protected resources are scarse, slow down writer threads; in conjunction with a sufficient buffer size, this makes the protection reliable.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@ignite.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org