# Stateful Apps

> For AI agents: the complete glossary index is at [llms.txt](https://glossary.cncf.io/llms.txt).
> Markdown versions of every glossary page are available by appending `index.md` to the page URL.

When we speak of stateful (and [stateless](https://glossary.cncf.io/stateless-apps/)) apps,
state refers to any data the app needs to store to function as designed.
Any kind of online shop that remembers your cart is a stateful app for example.

Today, most applications we use are at least partly stateful. In cloud native environments though,
stateful apps are a challenge. This is because [cloud native apps](https://glossary.cncf.io/cloud-native-apps/) are very dynamic.
They can be scaled up and down, restarted, and moved around but still need to be able to access their state.

Therefore, stateful apps needs some kind of storage that is accessible from anywhere, like databases.

---

- Canonical URL: https://glossary.cncf.io/stateful-apps/
- Status: Completed
- Last modified June 10, 2024: `` [CI & docs] Set up link checker + GH action + fix `en` links (#3188) `` ([541307c](https://github.com/cncf/glossary/commit/541307c6c7a39bb47683d70d586436f8c1b37a13))
- Source: https://github.com/cncf/glossary/blob/main/content/en/stateful-apps.md
- License: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
