Skip to main content

LoadRatioInfo

crawlee._autoscaling.types.LoadRatioInfo

Represents the load ratio of a resource.

Args: limit_ratio: The maximum ratio of overloaded and non-overloaded samples. If the actual ratio exceeds this value, the resource is considered as overloaded.

actual_ratio: The actual ratio of overloaded and non-overloaded samples.

Index

Properties

actual_ratio

actual_ratio: float

is_overloaded

is_overloaded: bool

Returns whether the resource is overloaded.

limit_ratio

limit_ratio: float