From 9800c3d92147ff5560232e5f2a1e47fce5f1f7ac Mon Sep 17 00:00:00 2001 From: Thomas Tacquet Date: Tue, 7 Jan 2025 13:18:04 +0100 Subject: [PATCH] fix(serverless): stateless concept --- serverless/containers/concepts.mdx | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/serverless/containers/concepts.mdx b/serverless/containers/concepts.mdx index 8f836aa527..edf5411428 100644 --- a/serverless/containers/concepts.mdx +++ b/serverless/containers/concepts.mdx @@ -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 @@ -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).