Questions tagged [uber-cadence]
90 questions
1
vote
1 answer
Cadence - Cadence Canary failing to start
I am running into this error after Cadence Canary gets started on my cluster nodes.
After the error error starting cron workflow.... , Cadence Canary does nothing and just hangs there.
Any thoughts/suggestions?
UPDATE: I have turned on debug level…

Rony
- 33
- 3
1
vote
1 answer
Cadence - Identifying important Operation metrics
I am doing some metrics collection and want to do some aggregations based on Operation.
What would you say are the top 5 (or more or less) operations across all services that we should be focusing on? OR
Are there top 5 (or more or less) for…

Rony
- 33
- 3
1
vote
0 answers
Cadence client and server configurations for benchmarking and scalability?
I've written a Cadence Drone Demo application and I want to benchmark it and scale it up on a large Cadence cluster (6 nodes). What will I need to tune/configure on the client/worker and server-side of things please? I've got 2 workflow types, a…

Paul Brebner
- 29
- 3
1
vote
1 answer
Is it safe to invoke a workflow activity from defer() within the workflow code?
func MyWorkflow(ctx Context) (retErr error) {
log := workflow.GetLogger()
log.Info("starting my workflow")
defer func() {
if retErr != nil {
DoActivityCleanupError(ctx, ..)
} else {
DoActivityCleanupNoError(ctx, ...)
…

byang223
- 95
- 1
- 7
1
vote
1 answer
Cross language workflow in Cadence
Suppose I have workers written in different languages (Java & C#). Each registered activities and workflows in the Cadence server. Is it possible to create a workflow which invokes activities from both workers ?

Luke
- 57
- 5
1
vote
1 answer
What is the exact use-case for ContinueAsNew
Team,
What is the exact use case to use continueAsNew?
As we have support for CronSchedule to do periodic activities, I don't know the scenario to use this.
Are we having this to give backward compatibility

Anil Kumble
- 43
- 5
1
vote
1 answer
How to create workflows dynamically in cadence
Each workflow should be implemented in a separate workflow class?
Is it recommended to implement a generic workflow class where we will call activities and fire timers using the argument which passed to the workflow?
In our use case, we will be…

Anil Kumble
- 43
- 5
1
vote
1 answer
Difference between Async.function and Async.procedure in cadence
Team,
I don't know the difference between Async.function and Async.procedure
Let me know when to use where

Anil Kumble
- 43
- 5
1
vote
1 answer
How to get open/closed workflow list from Java code in Uber Cadence?
I'm working on a project that used Uber Cadence Java Client. How can I get the list of open/closed workflows from the code? I can get it from CLI but not from java code.
Thank you.

Francisco Teixeira
- 35
- 3
1
vote
1 answer
Uber Cadence task list management
We are using Uber Cadence and periodically we run into issues on the production environment.
The setup is the following:
One Java 14 BE with Cadence client 2.7.5
Cadence service version 0.14.1 with Postgres DB
There are multiple domains, for all…

Dániel Juhász
- 11
- 1
1
vote
1 answer
UpdateTaskList operation failed with Cadence matching-service
The other day we ran into some issues with our cadence setup. One of our machine instances began to increase the CPU usage up to 90% and all of the inbound workflow executions were stuck in "Scheduled" states. After checking the logs, we noticed…

user2052668
- 35
- 5
1
vote
1 answer
How to increase Persistence QPS limit in Cadence
There are two types of error for QPS limit in Cadence
Persistence Max QPS Reached
and
Persistence Max QPS Reached for List Operations
What is the best way to resolve?

Long Quanzheng
- 2,076
- 1
- 10
- 22
1
vote
1 answer
How to get a list workflows based on some filtering, like timeout/workflowType
From https://github.com/uber/cadence/issues/3820
It's command that people want to get a list of workflows based on some filtering.
For example to get a list of workflows to reset or any operation.

Long Quanzheng
- 2,076
- 1
- 10
- 22
1
vote
1 answer
Solutions to fix stuck timers / activities in Cadence/SWF/StepFunctions
So timers are durable in workflow engines like Cadence, SWF and Step functions.
Durable timer is useful for use cases that need to wait for a long period of time, then wake up to execute some business logic. Because of the durability, it’s resilient…

Long Quanzheng
- 2,076
- 1
- 10
- 22
1
vote
2 answers
What are some of the big differences in Java Client versus Go Client when implementing Uber Cadence workflow?
I am working on designing a workflow with the intention of using cadence workflow engine and Java client. Seems like uber is actively using Go, and thus Go has better documentation and Activity and other classes than Java Client. Is this true?

user3574108
- 33
- 2
- 6