Stateless vs stateful service?

IntermediateConceptMixed bag
Answer

A stateless service keeps no client data between requests, so any replica can serve any request and scaling is easy. A stateful service keeps data (databases, sessions on local disk), so it needs stable identity and storage.

All Real-World Interview questions Roadmap: Interview readiness

More on Mixed bag