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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is the purpose of the ‘cookie’ used for stickiness?

A

The ‘cookie’ used for stickiness has an expiration date you control

How well did you know this?
1
Not at all
2
3
4
5
Perfectly