sticky session
A sticky session is a load-balancing technique that sends requests from the same user or session to the same server every time.
A sticky session, also called session affinity, is a technique in which a load balancer that spreads requests across several servers identifies a session by a cookie or connection details and keeps sending that session's requests to the server that first handled it. This lets users keep the same state even when a server stores session state in its own memory.
Its drawbacks are that load can pile up on one server and that session state can be lost if that server fails, so it is weighed against keeping session state in shared storage.
This entry is based on AIPOST articles and widely known facts. If something is wrong, please send us a correction request.