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.

1 articleLast mentioned

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.

Articles covering this entry

  • cmux for Parallel AI Coding Agents: Remote Sessions That Survive a Closed LaptopAI in Practice ·

    Follow-up requests in the same conversation always go to the same account, a technique known as sticky sessions.

    Read article

Found a mistake or missing an entry?

Wiki entries are based on AIPOST articles and widely known facts. If an entry is wrong, send us a correction request and we will check and fix it. Names from new articles are added to the wiki after the article is published.