Configuring session affinity for slow drain
Session affinity is configured with the load balancer. Session affinity ensures that all requests from a user are handled by the same Pega Platform server.
Session affinity is required in the load balancer for both slow drain and immediate drain quiesce. Immediate drain is the default quiesce method. Pega Platform settings related to cookie invalidation are applicable only for slow drain.
Production load balancers offer a range of options for configuring session affinity. Pega Platform supports cookie-based affinity for slow drain quiesce. For more information, see Quiescing nodes using slow drain. Configure cookies for high availability session affinity for slow drain quiesce by using the settings listed in the following table.
Setting | Description |
session/ha/quiesce/customSessionInvalidationMethod |
|
session/ha/quiesce/cookieToInvalidate |
|
Previous topic Setting up load balancers Next topic Configuring application tier architecture for redundancy