Sticky Sessions ( Session Affinity) Flashcards
1
Q
What is sticky sessions (session affinity)?
A
It is possible to implement stickiness so that the same client is always redirected to the same instance behind a load balancer
Example use case: make sure the user doesn’t lose his session data
2
Q
Which types of load balancers support sticky sessions?
A
Classic Load Balancer, Application Load Balancer, and Network Load Balancer
Enabling stickiness may bring imbalance to the load over the backend EC2 instances
3
Q
What is the purpose of the ‘cookie’ used for stickiness?
A
The ‘cookie’ used for stickiness has an expiration date you control