I have 100 workers running, an application written in go, but I often find that the workflow is running slowly because one of the activities is often in pending mode. Maybe I need to set up some settings and increase the number of available free activities?
Hi,
It is difficult to say without SDK metrics,
I would start setting SDK metrics (if you don’t have them yet) and monitor
- Temporal SDK metrics reference | Temporal Platform Documentation
- Temporal SDK metrics reference | Temporal Platform Documentation by worker_type
- and
If the issue is not enough activity slots, and you have enough resources (CPU, Memory) you can try increasing MaxConcurrentActivityExecutionSize.
These are great troubleshooting guides
- Performance bottlenecks troubleshooting guide | Temporal Platform Documentation
- Worker performance | Temporal Platform Documentation
Antonio
1 Like