session affinity

Sending all requests from one client to the same backend, often by hashing the client address or using a cookie.

In more detail

It helps applications that keep session state in memory, but it can make traffic uneven and makes draining a backend slower. Prefer storing session state where every backend can reach it.

Related terms

Taught in

References