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.
Hierarchy
-
ResourceBasedTunerSlotOptions -
ResourceBasedTunerOptionsConfig↳
ResourceBasedTuner
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
Inherited from
ResourceBasedTunerSlotOptions.activityTaskSlotOptions
controller
• Optional controller: undefined
Inherited from
ResourceBasedTunerOptionsConfig.controller
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
Inherited from
ResourceBasedTunerSlotOptions.localActivityTaskSlotOptions
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
Inherited from
ResourceBasedTunerSlotOptions.nexusTaskSlotOptions
tunerOptions
• tunerOptions: ResourceBasedTunerOptions
Options used to construct a controller scoped to this tuner.
Inherited from
ResourceBasedTunerOptionsConfig.tunerOptions
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
Inherited from
ResourceBasedTunerSlotOptions.workflowTaskSlotOptions