Skip to main content

Class: ResourceBasedController

Coordinates resource-based slot allocation using a shared resource sampler and PID controller.

Share one instance across resource-based tuners to enforce a single resource target across multiple Workers in the same process.

Methods​

create()​

static create(options): ResourceBasedController

Create a resource controller with the given target resource usage.

Parameters​

options​

ResourceBasedTunerOptions

Returns​

ResourceBasedController