Skip to content

Querying the auto-scaling formula #276

Description

@clxseizetheday

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

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