Replies: 3 comments 9 replies
-
我们可以看出来,有些任务是失败的,但是我想知道失败率是多少,或者一个报告总结也可以。 |
Beta Was this translation helpful? Give feedback.
-
This is the result. It tells you the test has passed. You setup is able to start 10 basic workflows in parallel and completed within the timeout (5 mins by default) You can also use workflow observe command or workflow show command to get the results . The sample command is in the README |
Beta Was this translation helpful? Give feedback.
-
Do you have advanced visibility? If not make sure you set useBasicVisibilityValidation to true |
Beta Was this translation helpful? Give feedback.
-
I want to know the performance of cadence-server , so, I read the cadence-bench's readme file. Now, I know how to use this tool, but I dont know how to get the result or report ? when the test finished , I got a result, but I am can not understand it well, this is my result:
input:
./cadence --address 192.168.1.10:7933 --domain sailing-cron-domain wf start --tl cadence-bench-tl-0 -wt basic-load-test-workflow -dt 30 -et 60 --if config/bench/basic.json
output:
Started Workflow Id: dcb369f0-01b2-4bae-aa73-aab01c1364c6, run Id: ab4bf5d9-2dc1-478e-b045-d246792ff02b
and I started the cadence-bench
./cadence-bench start
2021/09/03 11:17:47 Loading config; env=development,zone=,configDir=config/bench
2021/09/03 11:17:47 Loading configFiles=[config/bench/base.yaml config/bench/development.yaml]
{"level":"info","ts":"2021-09-03T11:17:48.037+0800","msg":"Started Workflow Worker","Domain":"sailing-cron-domain","TaskList":"cadence-bench-tl-1","WorkerID":"81814@cadence-bench-tl-1"}
{"level":"info","ts":"2021-09-03T11:17:48.037+0800","msg":"Started Workflow Worker","Domain":"sailing-cron-domain","TaskList":"cadence-bench-tl-0","WorkerID":"81814@cadence-bench-tl-0"}
{"level":"info","ts":"2021-09-03T11:17:48.050+0800","msg":"Started Activity Worker","Domain":"sailing-cron-domain","TaskList":"cadence-bench-tl-0","WorkerID":"81814@cadence-bench-tl-0"}
{"level":"info","ts":"2021-09-03T11:17:48.050+0800","msg":"Started Activity Worker","Domain":"sailing-cron-domain","TaskList":"cadence-bench-tl-1","WorkerID":"81814@cadence-bench-tl-1"}
^@^@^@^@^@^@{"level":"info","ts":"2021-09-03T11:19:00.184+0800","msg":"Start activity routineID","Domain":"sailing-cron-domain","TaskList":"cadence-bench-tl-0","WorkerID":"81814@cadence-bench-tl-0","ActivityID":"0","ActivityType":"basic-load-test-launch-activity","WorkflowType":"basic-load-test-workflow","WorkflowID":"dcb369f0-01b2-4bae-aa73-aab01c1364c6","RunID":"ab4bf5d9-2dc1-478e-b045-d246792ff02b","Test":"basic","RoutineID":1}
^@{"level":"info","ts":"2021-09-03T11:19:01.808+0800","msg":"Result of running launcher activity","Domain":"sailing-cron-domain","TaskList":"cadence-bench-tl-0","WorkerID":"81814@cadence-bench-tl-0","ActivityID":"0","ActivityType":"basic-load-test-launch-activity","WorkflowType":"basic-load-test-workflow","WorkflowID":"dcb369f0-01b2-4bae-aa73-aab01c1364c6","RunID":"ab4bf5d9-2dc1-478e-b045-d246792ff02b","Test":"basic","Result":"SuccessCount: 10, FailedCount: 0"}
^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@
this is my config:
config/bench/development.yaml
bench:
name: "cadence-bench"
#domains: ["cadence-bench", "cadence-bench-sync", "cadence-bench-batch"]
domains: ["sailing-cron-domain"]
numTaskLists: 2
cadence:
service: "cadence-frontend"
host: "192.168.1.10:7933"
config/bench/basic.json
{
"totalLaunchCount": 10,
"waitTimeBufferInSeconds": 60,
"routineCount": 1,
"chainSequence": 4,
"concurrentCount": 100,
"payloadSizeBytes": 1024,
"contextTimeoutInSeconds": 3,
"failureThreshold": 0.0
}
anyone help?
Beta Was this translation helpful? Give feedback.
All reactions