Temporal

Resource-based auto-tuning for Temporal Workers

Nov 12, 2024
Resource-based auto-tuning for Temporal Workers
SummaryAI, from the source post

Introduces resource-based auto-tuning for Temporal Workers, allowing them to scale up to the maximum bounds of CPU and Memory of the underlying compute node. This feature aims to simplify Worker management by automatically adjusting available Task Slots based on target CPU and memory usage (`targetMemoryUsage`, `targetCpuUsage`). It also details optional granular controls like `minimumSlots`, `maximumSlots`, and `rampThrottleMs`, and an alternative static `numSlots` option. The post clarifies that resource-based tuning cannot be used concurrently with `maxConcurrentWorkflowTaskExecutionSize` or `maxConcurrentActivityExecutionSize`.

More from the Worker Resource Auto-Tuning trail