Skip to content

Commit f6f4c46

Browse files
thomas-tacquetjcirinosclwyRoRoJ
authored andcommitted
feat(serverless): autoscaling concept (scaleway#4312)
* feat(serverless): autoscaling concept * Apply suggestions from code review Co-authored-by: Jessica <[email protected]> * missed review * Apply suggestions from code review Co-authored-by: Rowena Jones <[email protected]> --------- Co-authored-by: Jessica <[email protected]> Co-authored-by: Rowena Jones <[email protected]>
1 parent 21f3906 commit f6f4c46

File tree

2 files changed

+20
-8
lines changed

2 files changed

+20
-8
lines changed

pages/serverless-containers/concepts.mdx

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,16 @@ categories:
1212
- serverless
1313
---
1414

15+
## Autoscaling
16+
17+
Autoscaling refers to the ability of Serverless Containers to automatically adjust the number of instances without manual intervention.
18+
Scaling mechanisms ensure that resources are provisioned dynamically to handle incoming requests efficiently while minimizing idle capacity and cost.
19+
20+
Autoscaling parameters are [min-scale](/serverless-containers/concepts/#min-scale) and [max-scale](/serverless-containers/concepts/#max-scale). Available scaling policies are:
21+
* **Concurrent requests:** requests incoming to the resource at the same time. Default value suitable for most use cases.
22+
* **CPU usage:** to scale based on CPU percentage, suitable for intensive CPU workloads.
23+
* **RAM usage** to scale based on RAM percentage, suitable for memory intensive workloads.
24+
1525
## Cold start
1626

1727
Cold start is the time a Container takes to handle a request when it is called for the first time.
@@ -182,10 +192,6 @@ A sandbox is an isolation area for your container. Serverless Containers offer t
182192

183193
One of the advantages of Serverless Containers is that when your container is not triggered, it does not consume any resources, which enables great savings.
184194

185-
## Scaling
186-
187-
Serverless Containers make scaling your application transparent, up to 50 instances of your container can be run at the same time.
188-
189195
## Secrets
190196

191197
Secrets are an extra-secure type of environment variable. They are environment variables that are injected into your container and stored securely, but not displayed in the console after initial validation.

pages/serverless-functions/concepts.mdx

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,16 @@ categories:
1212
- serverless
1313
---
1414

15+
## Autoscaling
16+
17+
Autoscaling refers to the ability of Serverless Functions to automatically adjust the number of instances without manual intervention.
18+
Scaling mechanisms ensure that resources are provisioned dynamically to handle incoming requests efficiently while minimizing idle capacity and cost.
19+
20+
Autoscaling parameters are [min-scale](/serverless-functions/concepts/#min-scale) and [max-scale](/serverless-functions/concepts/#max-scale). Available scaling policies are:
21+
* **Concurrent requests:** requests incoming to the resource at the same time. Default value suitable for most use cases.
22+
* **CPU usage:** to scale based on CPU percentage, suitable for intensive CPU workloads.
23+
* **RAM usage** to scale based on RAM percentage, suitable for memory intensive workloads.
24+
1525
## Build step
1626

1727
Before deploying Serverless Functions, they have to be built. This step occurs during deployment.
@@ -142,10 +152,6 @@ A sandbox is an isolation area for your function. Serverless Functions offer two
142152

143153
One of the advantages of Serverless Functions is that when your function is not triggered, it does not consume any resources, which allows for significant savings.
144154

145-
## Scaling
146-
147-
Serverless Functions make scaling your application transparent, up to 50 instances of your function can be run at the same time.
148-
149155
## Secrets
150156

151157
Secrets are an extra-secure type of environment variable. They are environment variables that are injected into your function and stored securely, but not displayed in the console after initial validation.

0 commit comments

Comments
 (0)