From 057978bbc6e1bf58e9ab1c0b8c356726d98608e1 Mon Sep 17 00:00:00 2001 From: Brandon Philips Date: Mon, 23 Mar 2015 14:01:17 -0700 Subject: [PATCH] raft: design: fixup markdown Need a space between `1.` for markdown to render as a list. --- raft/design.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/raft/design.md b/raft/design.md index 202171fcd..dd0803d8a 100644 --- a/raft/design.md +++ b/raft/design.md @@ -51,8 +51,7 @@ A progress changes from `probe` to `snapshot` when the follower falls very far b ### Flow Control -1.limit the max size of message sent per message. Max should be configurable. +1. limit the max size of message sent per message. Max should be configurable. Lower the cost at probing state as we limit the size per message; lower the penalty when aggressively decrease to a too low `next` -2.limit the # of in flight messages < N when in `replicate` state. N should be configurable. - Most implementation will have a sending buffer on top of its actual network transport layer (not blocking raft node). We want to make sure raft does not overflow that buffer, which can cause message dropping and triggering a bunch of unnecessary resend in repeatedly. +2. limit the # of in flight messages < N when in `replicate` state. N should be configurable. Most implementation will have a sending buffer on top of its actual network transport layer (not blocking raft node). We want to make sure raft does not overflow that buffer, which can cause message dropping and triggering a bunch of unnecessary resend in repeatedly.