X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FWorkerChoiceStrategyOptions.html;h=ec5ab084a4f19897698bd3638a72265e9b7def55;hb=3d84cdaec91dfe96a82462c902bead4067b452d2;hp=3aeafe4588bac3b3ac7ec1daa741b9c8c0a15bbf;hpb=a13e50c30dd0e0714ace0e1ea4ea1b36cdd18ab7;p=poolifier.git diff --git a/docs/interfaces/WorkerChoiceStrategyOptions.html b/docs/interfaces/WorkerChoiceStrategyOptions.html index 3aeafe45..ec5ab084 100644 --- a/docs/interfaces/WorkerChoiceStrategyOptions.html +++ b/docs/interfaces/WorkerChoiceStrategyOptions.html @@ -1,181 +1,21 @@ -WorkerChoiceStrategyOptions | poolifier - v2.6.27
-
- -
-
-
-
- -

Interface WorkerChoiceStrategyOptions

-
-

Worker choice strategy options.

-
-
-
-

Hierarchy

-
    -
  • WorkerChoiceStrategyOptions
-
-
-
- -
-
-

Properties

-
- - -

Event loop utilization options.

-
-
-

Default Value

{ median: false }

-
-
- -
measurement?: "runTime" | "waitTime" | "elu"
-

Measurement to use for worker choice strategy.

-
-
-
- - -

Runtime options.

-
-
-

Default Value

{ median: false }

-
-
- - -

Wait time options.

-
-
-

Default Value

{ median: 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

-
\ No newline at end of file +WorkerChoiceStrategyOptions | poolifier - v4.0.6

Interface WorkerChoiceStrategyOptions

Worker choice strategy options.

+
interface WorkerChoiceStrategyOptions {
    elu?: MeasurementOptions;
    measurement?: "runTime" | "waitTime" | "elu";
    runTime?: MeasurementOptions;
    waitTime?: MeasurementOptions;
    weights?: Record<number, number>;
}

Properties

Event loop utilization options.

+

Default Value

{ median: false }
+
+
measurement?: "runTime" | "waitTime" | "elu"

Measurement to use in worker choice strategy supporting it.

+

Runtime options.

+

Default Value

{ median: false }
+
+

Wait time options.

+

Default Value

{ median: false }
+
+
weights?: Record<number, number>

Worker weights to use for weighted round robin worker selection strategies. +A weight is tasks maximum execution time in milliseconds for a worker node.

+

Default Value

Weights computed automatically given the CPU performance.
+
+
\ No newline at end of file