Skip to content

Commit

Permalink
fix(serverless): stateless concept (#4183)
Browse files Browse the repository at this point in the history
  • Loading branch information
thomas-tacquet authored Jan 7, 2025
1 parent 6873b75 commit c3dde8d
Showing 1 changed file with 5 additions and 11 deletions.
16 changes: 5 additions & 11 deletions serverless/containers/concepts.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -200,11 +200,13 @@ Here is how it works:

This process ensures a seamless update experience, minimizing user disruption during deployments. If needed, you can also manage traffic splitting between versions during the update process, allowing you to test new versions with a subset of traffic before fully migrating to it

## Stateless application
## Stateless

A stateless application is a computer program that does not save client data between sessions. Data generated in one session is not saved for use in the next session with that client.
Refers to a system or application that does not maintain any persistent state between executions. In a stateless environment, each request or operation is independent, and no information is retained from previous interactions.

To store data persistently, use products like [Managed Databases]/managed-databases/) or [Object Storage](/storage/object/).
This means that each request is treated as a new and isolated event, and there is no need for the system to remember previous states or data once a task is completed. Statelessness is commonly used in serverless architectures where each function execution is independent of others.

To store data you can use [Scaleway Object Storage](/storage/object/), [Scaleway Managed Databases](/managed-databases/postgresql-and-mysql/), and [Scaleway Serverless Databases](/serverless/sql-databases/).

## Status

Expand All @@ -213,14 +215,6 @@ A Serverless Container can have the following statuses:
* **Pending**: your resource is under deployment.
* **Error**: something went wrong during the deployment process. [Check our troubleshooting documentation](/serverless/containers/troubleshooting/cannot-deploy-image) to solve the issue.

## Stateless

Refers to a system or application that does not maintain any persistent state between executions. In a stateless environment, each request or operation is independent, and no information is retained from previous interactions.

This means that each request is treated as a new and isolated event, and there is no need for the system to remember previous states or data once a task is completed. Statelessness is commonly used in serverless architectures where each function execution is independent of others.

To store data you can use [Scaleway Object Storage](/storage/object/), [Scaleway Managed Databases](/managed-databases/postgresql-and-mysql/), and [Scaleway Serverless Databases](/serverless/sql-databases/).

## Terraform

Terraform is a tool for managing infrastructure using code. [Read the Terraform documentation for Serverless Containers](https://registry.terraform.io/providers/scaleway/scaleway/latest/docs/resources/container).
Expand Down

0 comments on commit c3dde8d

Please sign in to comment.