class documentation
class ResourceBasedSlotConfig: (source)
Options for a specific slot type being used with a ResourceBasedSlotSupplier
.
Warning
The resource based tuner is currently experimental.
Class Variable | maximum |
Maximum amount of slots permitted. Defaults to 500. |
Class Variable | minimum |
Amount of slots that will be issued regardless of any other checks. Defaults to 5 for workflows and 1 for activities. |
Class Variable | ramp |
Minimum time we will wait (after passing the minimum slots number) between handing out new slots in milliseconds. Defaults to 0 for workflows and 50ms for activities. |
Amount of slots that will be issued regardless of any other checks. Defaults to 5 for workflows and 1 for activities.
Minimum time we will wait (after passing the minimum slots number) between handing out new slots in milliseconds. Defaults to 0 for workflows and 50ms for activities.
This value matters because how many resources a task will use cannot be determined ahead of time, and thus the system should wait to see how much resources are used before issuing more slots.