Questions tagged [uber-cadence]

90 questions
1
vote
1 answer

What is the best way to make use of the workflow reset feature in Cadence/Temporal/iWF?

What I should consider in a design regarding to workflow reset?
Long Quanzheng
  • 2,076
  • 1
  • 10
  • 22
1
vote
1 answer

How to use Cadence/Temporal versioning API( workflow.getVersion) in a loop

Imagine this workflow of 10 activities in a loop: public class LoopWorkflowImpl implements LoopWorkflow{ private final Api api = Workflow.newActivityStub(Api.class, ...) @override public int start(){ int sum = 0; for(int…
Long Quanzheng
  • 2,076
  • 1
  • 10
  • 22
1
vote
1 answer

Why cadence's executions table with cassandra does not to split to multi tables

Why cadence's executions table with cassandra does not to split to multi tables such as transfer_task and timer_task?
1
vote
3 answers

Iterative activity in Cadence / Temporal workflow

This can be considered a follow-up question to Invoking the same activity inside a loop in cadence workflow: How does the workflow recover in case of activity iteration ? Will is continue invoking the i-th activity (skipping the ones that were…
Luke
  • 57
  • 5
1
vote
2 answers

What is a good use case for a delay task in Uber Cadence?

I want to implement a delay task and found a cadence cron example, how to use cadence to implement a delay task?
1
vote
1 answer

Can you use the same workflow id in different domains in Cadence?

Is it possible to register a Cadence workflow with the same workflow ID in different domains?
1
vote
1 answer

How to make cadence workers stop accepting new tasks

I want to achieve a use-case where, during graceful scale-down, I want to ensure that cadence workers do not accept any new jobs. I am using cadence on k8, so I plan to give a terminationGracePeriodSeconds to a known maximum timeout by which I know…
1
vote
1 answer

What happens to the CronWorkflows in Cadence if a cluster is down when a workflow should have started?

What is the behaviour of CronWorkflows in the event that the Cadence cluster is down while a workflow should have started? When the cluster comes back, would we expect the workflow to still be started?
Sharan Foga
  • 135
  • 8
1
vote
1 answer

Visualizing Cadence Workflows

What is the best way to visualize cadence workflow for users? I want to show users the different steps of the workflow in a high level view (something similar to what most food delivery apps have: order placed -> preparing food -> food is on it’s…
1
vote
1 answer

What should I consider when using Cadence/Temporal to design a new project?

I am new to Cadence/Temporal and was wondering what the design review process is like. My team is ready to have a formal design review out but was wondering if there is a template available to capture Cadence/Temporal specific information?
Long Quanzheng
  • 2,076
  • 1
  • 10
  • 22
1
vote
1 answer

Does uber-cadence framework enforce limits on the number of signals received over the lifecycle of a workflow?

From Uber's Cadence doc, it says that a single workflow cannot expect to run more than 100k activities over the lifecycle of the workflow. https://cadenceworkflow.io/docs/concepts/workflows/#child-workflow A single workflow has a limited size. For…
1
vote
1 answer

Is there a way to get the latency for how long it takes for a Cadence activity worker to pick up a new task?

Is there any way to get the latency for how long it takes for a worker to pick up a new task or how long it takes for an activity to be picked up by a worker?
Sharan Foga
  • 135
  • 8
1
vote
1 answer

Is there a Cadence metric that can help spot overloads for each specific activity worker?

My company would like to automatically scale the activity workers and each workflow workers independently according to the load of a tasklist. Reading the docs I have found the following metrics for activity…
Sharan Foga
  • 135
  • 8
1
vote
1 answer

How does cadence memory management works?

I want to understand how cadence-client manages memory for long running workflows. Consider that a workflow runs for 6 months, but it is not active for this entire duration. It becomes active when the client receives a signal related to this…
Ezio
  • 2,837
  • 2
  • 29
  • 45
1
vote
1 answer

How to cancel/reset workflow from Java Client?

I'm seeing cadence CLI supports the above commands from CLI interface.How to do this through Java SDK.I'm seeing support only for starting the workflow.