-
Task queues can be treated like distributed queues, managed by the Temporal service. Their size is also managed by the service (can grow dynamically with the number of tasks they contain). There are no configuration options for size currently.
-
Max number of threads for all workers created by a WorkflowFactory is configurable via WorkflowFactoryOptions.maxWorkflowThreadCount. Default is 600 threads.
Workers have a cashing mechanism for workflows. Whenever there are no more available threads, a worker can evict a cashed workflow for other workflows to execute/continue execution.
Check out this forum thread for worker configurations, as well as this documentation PR.
2 Likes