Add slow offer support on write pressure
When there is write pressure on the penciller and it returns to the bookie, the bookie will now punish the next PUT (and itself) with a pause. The longer the back-pressure state has been in place, the more frequent the pauses
This commit is contained in:
parent
7f456fa993
commit
70dc637c97
2 changed files with 23 additions and 9 deletions
|
@ -122,7 +122,7 @@
|
|||
-define(JOURNAL_FILEX, "cdb").
|
||||
-define(MANIFEST_FILEX, "man").
|
||||
-define(PENDING_FILEX, "pnd").
|
||||
-define(LOADING_PAUSE, 5000).
|
||||
-define(LOADING_PAUSE, 1000).
|
||||
-define(LOADING_BATCH, 1000).
|
||||
|
||||
-record(state, {manifest = [] :: list(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue