-
Notifications
You must be signed in to change notification settings - Fork 101
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Querying the auto-scaling formula #276
Comments
In fact, if I cancel out the two |
@alexellis I think it might be best for you to comment here, given your recent work on scaling |
The formula should match that of Kubernetes HPAv2: https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/#algorithm-details |
/set title: Querying the auto-scaling formula |
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 thecurrent replicas
in the denominator will always cancel out.So how should I understand this formula?
Thanks
The text was updated successfully, but these errors were encountered: