Merge pull request #2565 from coreos/philips-patch-1

raft: design: fixup markdown
release-2.1
Brandon Philips 2015-03-23 14:06:05 -07:00
commit 5ba85cb58d
1 changed files with 2 additions and 3 deletions

View File

@ -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.