How to balance resources by controlling how many flows can run at the same time
You can balance resources by controlling the number of flows that can run concurrently through two approaches:
- Globally: This can be controlled using the following
config.yaml parameter:
/runtime/resources/flowThreadsThis parameter defines the maximum number of flows that can execute concurrently on a single flow executor process.
- Per Flow: Each flow included in a package has a setting to
control how many instances of that specific flow can be executed at the same
time via the provided endpoint.
To configure this, set the Max Instances property for each flow in the list of flows assigned to the package.
The default value is 0, which means no limit is set.