Table of Contents

Namespace Temporalio.Worker.Tuning

Classes

FixedSizeSlotSupplier

A slot supplier that will only ever issue at most a fixed number of slots.

ResourceBasedSlotSupplier

A slot supplier that will dynamically adjust the number of slots based on resource usage.

ResourceBasedSlotSupplierOptions

Options for a specific slot type being used with a resource based slot supplier.

ResourceBasedTunerOptions

Options for target resource usage.

WorkerTuner

Implements IWorkerTuner by holding the different ISlotSuppliers.

Interfaces

ISlotSupplier

Slot suppliers control how slots are handed out for workflow and activity tasks as well as local activities when used in conjunction with a WorkerTuner.

Currently you cannot implement your own slot supplier, but you can use the provided FixedSizeSlotSupplier and ResourceBasedSlotSupplier slot suppliers.

IWorkerTuner

WorkerTuners allow for the dynamic customization of some aspects of worker configuration.