I wanted to clarify my understanding of what a worker is and where it runs. Based on the definition in the glossary I have taken the following snippets:
- A Worker is a service that hosts the Workflow and Activity implementations.
- Worker services are developed, deployed, and operated by Temporal customers.
Could you clarify:
- When a workflow is triggered and an Activity needs to be run is this run in the same environment that the customer Worker was created in or is it run in the worker pods created in K8.
- If the Activity is run by the customers worker service and you want to scale to support more workflows does it mean the environment the worker is running in needs to be scaled or is it the worker pods that need to be scaled.