Devops

Explain stateless vs. stateful

Difficulty: unrated

Source: bregman-arie/devops-exercises by Arie Bregman

Answer

Stateless applications don't store any data in the host which makes it ideal for horizontal scaling and microservices. Stateful applications depend on the storage to save state and data, typically databases are stateful applications.