🏗️Stateless Service
Also known as Stateless Application, Stateless Server, Stateless Process
A service that keeps nothing between calls. So any copy can answer.
Think of it like
It is like a shop clerk who never knows you. You show your ticket each time.
Example
Jack's shop runs five copies of its web app. Carts live in a shared cache, so the load balancer can send each click to any copy.
Why it matters
Stateless services grow by just adding copies. A crash loses nothing, because nothing lived there.
Definition
Common mistake
Key takeaways
- 1No memory inside. Each request stands alone.
- 2State lives outside. In a database or cache.
- 3Any copy answers. Easy to grow and replace.