cadence-samples icon indicating copy to clipboard operation
cadence-samples copied to clipboard

Task lists sample

Open Redundancy opened this issue 4 years ago • 1 comments

I believe that I read that Cadence can schedule activities based on many potential ways using task lists, but there´s not much information that expands on this idea and how it can be used.

In particular, this part of the documentation:

While Cadence task lists are queues, they have some differences from commonly used queuing technologies. The main one is that they do not require explicit registration and are created on demand. The number of task lists is not limited. A common use case is to have a task list per worker process and use it to deliver activity tasks to the process. Another use case is to have a task list per pool of workers.

I'm also not clear if every worker needs to support every potential activity sent to a task list, so it would be lovely to see an example of multiple different workers.

Redundancy avatar Sep 20 '19 01:09 Redundancy

Currently the only example that uses multiple task lists is fileprocessing.

Feel free to join Cadence Slack channel to discuss your use case.

mfateev avatar Sep 20 '19 01:09 mfateev