forked from cadence-workflow/cadence
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support adaptive tasklist partitioner in matching simulations (cadenc…
- Loading branch information
1 parent
536caf7
commit 0e96b3e
Showing
13 changed files
with
158 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
enablearchival: false | ||
clusterno: 1 | ||
messagingclientconfig: | ||
usemock: true | ||
historyconfig: | ||
numhistoryshards: 4 | ||
numhistoryhosts: 1 | ||
matchingconfig: | ||
nummatchinghosts: 4 | ||
simulationconfig: | ||
tasklistwritepartitions: 0 # this doesn't matter. adaptive scaler will start from 1 | ||
tasklistreadpartitions: 0 # this doesn't matter. adaptive scaler will start from 1 | ||
forwardermaxoutstandingpolls: 1 | ||
forwardermaxoutstandingtasks: 1 | ||
forwardermaxratepersecond: 10 | ||
forwardermaxchildrenpernode: 20 | ||
localpollwaittime: 10ms | ||
localtaskwaittime: 10ms | ||
tasks: | ||
- numtaskgenerators: 10 | ||
taskspersecond: 500 | ||
maxtasktogenerate: 10000 | ||
pollers: | ||
- taskprocesstime: 1ms | ||
numpollers: 8 | ||
polltimeout: 60s | ||
getpartitionconfigfromdb: true | ||
enableadaptivescaler: true | ||
partitiondownscalefactor: 0.75 | ||
partitionupscalerps: 200 | ||
partitionupscalesustainedduration: 5s | ||
partitiondownscalesustainedduration: 5s | ||
adaptivescalerupdateinterval: 1s | ||
workerconfig: | ||
enableasyncwfconsumer: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.