Replies: 3 comments 14 replies
-
The error of remote sync match failed error means the task is not able to match with a worker within the time required ( a few seconds). What is your sever version? I know there is a bug in scalable task list in the earlier version when the feature was just released, which could cause issue like that. Also, I don’t see you have enabled scalable tasklist in the dynamic config . Can you confirm? Scalable tasklist is not related to how many wf can be created in parallel. The factor of it is number of shards, db perf, and num of history hosts. Scalable tasklist only contribute to how many tasks(including decision and activity) can be started in parallel, after a workflow is created. |
Beta Was this translation helpful? Give feedback.
-
We started multiple workers, each in its own goroutine
…On Sat, Aug 21, 2021 at 11:26 AM Kun Zhang ***@***.***> wrote:
the worker started with only one TaskListName parameter,but how can i use
multiple tasklist on one worker?
worker := worker.New( service, Domain, TaskListName, workerOptions) err :=
worker.Start()
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#4363 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACWTL23RAGTW3D4BOWLF5FDT54MHVANCNFSM5CEYD77Q>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email>
.
|
Beta Was this translation helpful? Give feedback.
-
The history/matching/frontend hosts were scaled using the banzai cloud helm
chart.
The worker only needs to register to 1 endpoint. We had a load balancer
pointing to our k8s nodes.
…On Sat, Aug 21, 2021 at 12:35 PM Kun Zhang ***@***.***> wrote:
Got it!
After retesting multiple tasklists on one worker with more
history/matching/frontend hosts, workflows were no longer dropped.
Another question, “with more history/matching/frontend hosts” how do this
scaled.
In cadence-sample project, a common.SampleHelper only can associate to one
service like this
`SampleHelper struct {
Service workflowserviceclient.Interface // only assocaite one service
WorkerMetricScope tally.Scope
ServiceMetricScope tally.Scope
Logger *zap.Logger
Config Configuration
Builder *WorkflowClientBuilder
DataConverter encoded.DataConverter
CtxPropagators []workflow.ContextPropagator
workflowRegistries []registryOption
activityRegistries []registryOption
configFile string
}`
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#4363 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACWTL25HQLBVIBX5NZJLUHDT54UKPANCNFSM5CEYD77Q>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email>
.
|
Beta Was this translation helpful? Give feedback.
-
Hi there, any idea what might contribute to high latency in starting a decision task?
We've been running a load test on a single task list, aiming to reach 100 wfs/s.
The workflow only runs 1 activity, which is to return the variables passed to it. (i.e. minimal processing)
I notice that the number of workflows created can hit 100 wfs/s after enabling scalable tasks lists. However, the activities created are less than the number of workflows triggered & hovers around 60/s. The number of pending workflows eventually increases and times out.
The only error log I get is
RemoteSyncMatchedError{Message: remote sync match failed}
from matching service, which I am unsure how to fix.Any idea what I might have missed?
Other info:
Dynamic config used
Beta Was this translation helpful? Give feedback.
All reactions