File tree Expand file tree Collapse file tree
docs/encyclopedia/workers Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1818
1919The Temporal Service maintains a set of Task Queues, which Workers poll to see
2020what work needs to be done. Each Task Queue is identified by a name, which is
21- provided to the Temporal Service when launching a Workflow Execution. In this
22- example, the value is included in request to start the Workflow.
21+ provided to the Temporal Service when launching a Workflow Execution.
2322
2423<Tabs groupId = " start-workflow-configure-worker-by-sdk" queryString >
2524
@@ -333,15 +332,3 @@ using var worker = new TemporalWorker(
333332However, it’s not always possible to do define the Task Queue name in a constant, such as when the Client used
334333to start the Workflow is running on another system or is implemented in a
335334different programming language.
336-
337- ## Running Multiple Worker Processes
338-
339- Finally, we recommend running at least two Worker Processes for each Task Queue
340- in a production application, each running on a separate host.
341-
342- This eliminates the Worker as a single point of failure, because if
343- there are two Worker Processes and one of them crashes, the remaining
344- Worker will recover any executions that were in progress and will
345- continue to handle new ones, too. Running additional Worker Processes
346- will further increase the scalability and availability of your
347- application.
You can’t perform that action at this time.
0 commit comments