IT lexicon › Infra & Ops › Sticky session

Sticky session Session affinity

Infra & Ops På svenska → Updated: 2026-05-23

The load balancer sends the same user to the same backend server every time — for session state.

Implementation: cookie or IP hash. A quick fix for stateful services. Drawbacks: uneven load, hot servers, bad for scaling. Modern: stateless services + external session store (Redis, JWT) eliminate the need.

← Back to the lexicon