Aller au contenu
Français

DEFAULT_PARALLELISM_PLACEMENT

Ce contenu n’est pas encore disponible dans votre langue.

const DEFAULT_PARALLELISM_PLACEMENT: PlacementStrategy = 'consistent-hash'

Defined in: src/parallelism/ParallelismOptions.ts:30

A hash of the actor’s name picks its worker, so the same name lands on the same worker across restarts of the application — which keeps anything the worker caches for it warm, and keeps a placement explainable from a log.