You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ratis.apache.org by GitBox <gi...@apache.org> on 2021/10/07 10:30:38 UTC

[GitHub] [ratis] kaijchen commented on pull request #508: RATIS-1411. Alleviate slow follower issue

kaijchen commented on pull request #508:
URL: https://github.com/apache/ratis/pull/508#issuecomment-937663839


   Good catch.
   However, I don't feel this is a perfect solution in general case because it may stall the leader. (that's why we need the switch)
   
   Do you think keeping some cache for the slowest follower will work?
   We can adjust the ratio of **cache for slowest follower** vs **cache for latest entries** to control the flow rates.
   If the slowest follower is making progress, we increase the ratio to let it catch up.
   If the slowest follower is not responding, we decrease the ratio so there is little impact for leader to make progress.


-- 
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: issues-unsubscribe@ratis.apache.org

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