Skip to main content

Module scale

Module scale 

Source
Expand description

Scale Manager — Tracks instances per service and processes scale requests.

Manages the mapping between services and their running instances, handles scale-up/scale-down decisions, and emits instance state events.

Structs§

DurableScaleAuthority
InstanceRegistry
Registry for instance self-registration in standalone multi-node deployments.
LocalScaleReconciler
Serial reconciler that converges one service to deterministic replica slots.
ScaleApiState
ScaleEndpointConfig
Host listener and advertised address policy for live scale endpoints.
ScaleManager
Tracks all instances managed by this Box host.
ScaleReconcileObservation
ScaleReconcileReport
ScaleServiceCatalog
Validated Compose ACL templates owned by the Box execution plane.
ServiceHealth
Aggregated health metrics for a service.

Enums§

ScaleAuthorityError
ScaleCatalogError
ScaleEndpointConfigError
ScaleReconcileError

Constants§

SCALE_GUEST_PORT_LABEL
SCALE_MANAGED_LABEL
SCALE_SERVICE_LABEL
SCALE_SLOT_LABEL
SCALE_TEMPLATE_DIGEST_LABEL

Functions§

scale_router
serve_scale_api

Type Aliases§

SharedScaleAuthority