Does this handle the case where there are longer-running activities that have low CPU usage? Couldn't these be canceled during scalein?
Temporal would retry them, but it would make some workflow runs take longer, which could be annoying for some user-interactive workflows.
Otherwise I've seen needing to hit the metrics endpoint to query things like `worker_task_slots_available` to scale up, or query pending activities, pending workflows, etc to scale down per worker.
DoofWarrior•1w ago
norapap•1w ago
In the github you can find comments to easily switch to EC2 if your workload needs it
leetrout•1h ago
We're using prefect not Temporal and each prefect flow launches in a discrete ECS task so the waiting added up.