Skip to main content

Stateless service

A service that keeps no request-specific data in memory or on local disk between requests, so any instance can serve any request.

Statelessness is what makes horizontal scaling, rolling deploys, and instance replacement safe. State does not disappear — it moves to a database, a cache, or object storage, where it can be shared and backed up.

See also