You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
*Low CPU utilization (5-15%) despite active workflow processing, leading to incorrect downscaling by compute autoscalers. See how utilization jumps inside the target range (45%) once the worker autoscaler is enabled.*
*Worker instance count fluctuations caused by CPU-based autoscaling decisions. Once the autoscaler is enabled, the instance count decreases 50%, saving on compute spend.*
20
+
7
21
## Overview
8
22
9
23
### What AutoScaler does
@@ -23,7 +37,7 @@ The AutoScaler addresses these critical production problems:
23
37
-**Production reliability**: Prevents scaling-related incidents and workflow processing delays
24
38
25
39
### How to get started
26
-
>To get started, just add the following to your worker options:
40
+
>To get started, just add the following to your worker options:
27
41
```go
28
42
worker.Options{
29
43
...
@@ -48,7 +62,7 @@ worker.Options{
48
62
49
63
**Poller Count Setup**: Before enabling AutoScaler, ensure your initial poller count equals the maximum of your decision and activity worker poller counts. This prevents AutoScaler from starting with insufficient polling capacity.
50
64
51
-
>For example:
65
+
>For example:
52
66
```go
53
67
worker.Options{
54
68
...
@@ -96,17 +110,7 @@ When AutoScaler detects that workers are genuinely underutilized (based on Caden
96
110
97
111
This approach prevents the common scenario where compute autoscalers scale down workers that appear idle but are actually critical for maintaining workflow performance. AutoScaler provides a more accurate representation of worker utilization that can be used to make better scaling decisions at both the worker configuration level and the compute infrastructure level.
98
112
99
-
### Visualizing the CPU utilization problem
100
-
101
-
The following Grafana dashboards demonstrate the CPU utilization issue that AutoScaler solves:
> **Note**: Make sure to select a Domain in Grafana for the dashboards to display data. The dashboards will be empty until a domain is selected from the dropdown.
158
162
159
-
160
163
Monitor these key metrics to understand AutoScaler performance:
0 commit comments