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

[EN] Update Stateless Apps #3295

Merged
merged 1 commit into from
Sep 28, 2024
Merged
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
7 changes: 3 additions & 4 deletions content/en/stateless-apps.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,10 @@
tags: ["fundamental", "application", "property"]
---

Stateless applications process requests as if each request were the first it's ever been sent.
The app doesn't "remember" previous interactions or user session data.
Data from previous interactions is referred to as state, and since that data isn't stored anywhere, these apps are state*less*.
Stateless applications handle each request independently without remembering any previous interactions or user data.
Data from previous interactions is referred to as state since that data isn’t stored anywhere, these apps are state*less*.
Here's an example:
When you use a search engine, and that search is interrupted (e.g., the window is closed), those search results are lost.
You'll need to start all over.

On the other hand, applications that process requests while considering previous interactions are called [stateful applications](/stateful-apps/).
On the other hand, applications that process requests while considering previous interactions are called [stateful applications](/stateful-apps/).