Sticky session
Making the same user always go to the same server, so that server keeps their data.
Example
Your cart with 3 products lives on server 2, and the load balancer always sends you to 2.
Test yourself: Sticky session
Kinds of load balancers
What are sticky sessions for?
If your cart with 3 products lives on server 2, the sticky session always sends you to 2 so you don't lose it.
0/1
â–¶ Play