personal-page/_master_wiki/void/Readwise/Stateful vs. Stateless Applications — Differences, Pros & Cons, Use Cases.md

1.4 KiB
Raw Blame History

Stateful vs. Stateless Applications — Differences, Pros & Cons, Use Cases

rw-book-cover

Metadata

[!tldr] Stateful applications remember user interactions and store data between sessions, while stateless applications do not retain any user information. This choice affects how applications are designed, their scalability, and the resources they require. Developers must weigh the pros and cons of each type to meet their project needs effectively.

Highlights

Stateful applications save info about the users “state” by keeping track of what they do. View Highlight)

Stateless software applications are those applications that do not save information about previous interactions, user sessions, or events. These applications do not preserve context or state between requests in a stateless design. View Highlight)