All labs
Lab 20
Application Scaling

Stateless vs Stateful — Why Sessions Break Scaling

QuickMove stores login sessions in memory. Log in on Instance A, get routed to Instance B, and you're logged out. Move the session to Redis and any instance serves any request.

QuickMove's exact bug. Sessions live in instance memory. Send one user through a booking journey and watch the round-robin load balancer scatter them across instances. Then move the session to Redis and run it again.
request 1 of 4
⚖️ Load balancer (round-robin)
🖥️
Instance A
🖥️
Instance B
🖥️
Instance C
Request log
// send a request to begin
What just happened