Interface WorkerChoiceStrategyOptions

Worker choice strategy options.

Hierarchy

  • WorkerChoiceStrategyOptions

Properties

Properties

medRunTime?: boolean

Use tasks median run time instead of average run time.

Default Value

false

weights?: Record<number, number>

Worker weights to use for weighted round robin worker selection strategy. Weight is the tasks maximum average or median runtime in milliseconds.

Default Value

Computed worker weights automatically given the CPU performance.

Generated using TypeDoc