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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to