What is the difference between "stateless" and "stateful" applications in the context of cloud architecture?
Correct! Well done.
Incorrect.
The correct answer is A) A stateless app stores no session data between requests on the server, easing horizontal scaling, while a stateful app retains client session data, complicating scaling and often requiring sticky sessions or shared session stores
Correct Answer
A stateless app stores no session data between requests on the server, easing horizontal scaling, while a stateful app retains client session data, complicating scaling and often requiring sticky sessions or shared session stores
Stateless applications are easier to scale because any instance can handle any request; stateful applications need mechanisms like sticky sessions or external session stores (e.g. ElastiCache, DynamoDB) to maintain consistency across instances.