Skip to main content

Interface: ResourceBasedTuner

worker.ResourceBasedTuner

This tuner attempts to maintain certain levels of resource usage when under load. You do not need more than one instance of this when using it for multiple slot types.

Worker Tuner is an experimental feature and may be subject to change.

Properties

activityTaskSlotOptions

Optional activityTaskSlotOptions: ResourceBasedSlotOptions

Options for activity task slots. Defaults to a minimum of 1 slots and a maximum of 2000 slots with 50ms ramp throttle


localActivityTaskSlotOptions

Optional localActivityTaskSlotOptions: ResourceBasedSlotOptions

Options for local activity task slots. Defaults to a minimum of 1 slots and a maximum of 2000 slots with 50ms ramp throttle


nexusTaskSlotOptions

Optional nexusTaskSlotOptions: ResourceBasedSlotOptions

Options for Nexus task slots. Defaults to a minimum of 1 slots and a maximum of 2000 slots with 50ms ramp throttle


tunerOptions

tunerOptions: ResourceBasedTunerOptions

Options for the tuner


workflowTaskSlotOptions

Optional workflowTaskSlotOptions: ResourceBasedSlotOptions

Options for workflow task slots. Defaults to a minimum of 2 slots and a maximum of 1000 slots with no ramp throttle