When working with GeneXus, you may come across terms like "sticky sessions" and "server affinity" in the context of application load balancing.
Sticky sessions and server affinity are fundamental elements of load balancing strategies, playing a pivotal role in delivering a customized and consistent end user experience.
These techniques achieve this by consistently directing requests to the same server throughout an end user's session, thereby ensuring the smooth operation of GeneXus applications. By preserving session state and maintaining server continuity, fixed sessions and server affinity contribute to the seamless functionality of the applications, providing a reliable and uninterrupted user experience.
In the context of application load balancing, sticky sessions refer to a technique where a router or load balancer assigns a specific server to an end user based on their HTTP session or IP address. This assignment is maintained for a specified period, ensuring that subsequent requests from the same end user are consistently directed to the same server.
Server affinity, in the realm of load balancing, denotes the ability of a load balancer or router to route an end user's request back to the same server from which their session originated. This ensures the preservation of session state and avoids disruptions or inconsistencies that may arise from switching servers. Server affinity plays a crucial role in applications that rely on maintaining session-related data or end user-specific context throughout their browsing or interaction.
Session state handling