Skip to content

Querying the auto-scaling formula #276

Open
@clxseizetheday

Description

hello guys,
I am reading the document about the autoscaling of OpenFaas. In the chapter 'Autoscaling', https://docs.openfaas.com/architecture/autoscaling/#how-auto-scaling-works it gives a formula about the strategy of calculating the desire replics amount.

it says desired = current replicas * (current load / (target load per replica * current replicas))
however, the first current replicas in the formula and the current replicas in the denominator will always cancel out.
So how should I understand this formula?

Thanks

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions