openfaas / openfaas/docs

Querying the auto-scaling formula

Open
#276 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Makefile
Stars
67
Forks
94
Avg merge
5h 51m
Merged PRs (30d)
1

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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the Autoscaling chapter at the linked OpenFaaS documentation URL and inspect the section containing the desired-replicas formula. Determine whether the repeated current-replicas terms are intentional, then clarify or correct the explanation so the formula's meaning is unambiguous.

Written by the indexing model from the issue text.

Assessment

Domain
documentation
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.