Skip to content
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

v2: Autoscaling docs - small updates #4491

Merged
merged 2 commits into from
Dec 9, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/source/contents/kubernetes/autoscaling/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ The model autoscaling architecture is designed such as each agent decides on whi
### Agent autoscaling stats collection

#### Scale up logic:
The main idea is that we keep the "lag" for each model. We define the "lag" as the different between incoming and outgoing requests in a given time period. If the lag crosses a threshold, then we trigger a model scale up event. This threshold can be defined via `SELDON_MODEL_INFERENCE_LAG_THRESHOLD` inference server environment variable.
The main idea is that we keep the "lag" for each model. We define the "lag" as the difference between incoming and outgoing requests in a given time period. If the lag crosses a threshold, then we trigger a model scale up event. This threshold can be defined via `SELDON_MODEL_INFERENCE_LAG_THRESHOLD` inference server environment variable.

#### Scale down logic:
For now we keep things simple and we trigger model scale down events if a model has not been used for a number of seconds. This is defined in `SELDON_MODEL_INACTIVE_SECONDS_THRESHOLD` inference server environment variable.
Expand Down
4 changes: 4 additions & 0 deletions docs/source/contents/models/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,7 @@ inference-artifacts/index.md
rclone/index.md
parameterized-models/index.md
```

## Autoscaling of models

See [here](../kubernetes/autoscaling/index.md) for discussion of autoscaling of models.
2 changes: 1 addition & 1 deletion docs/source/contents/servers/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@ There is a default capabilities for each server as follows:

## Autoscaling of Servers

This is in the roadmap.
Within docker we don't support this but for Kubernetes see [here](../kubernetes/autoscaling/index.md)