Uploaded image for project: 'mod_cluster'
  1. mod_cluster
  2. MODCLUSTER-780

Support affinity (route) stored in a separate cookie

XMLWordPrintable

      Before WildFly 28 only supported the ability to encode session affinity information into the JSESSIONID cookie, which is already used to uniquely identify a session. This plays nicely with the httpd family of load balancer modules (e.g. `mod_cluster`, `mod_proxy_balancer`, `mod_jk`) for which this mechanism was designed.

      However, many load balancers rely on a separate cookie for implementing sticky sessions (e.g. HAProxy, IIS, Nginx, etc.),
      and thus lack the ability to allow WildFly to guide requests for a given session to the server that can most efficiently handle it.

      To resolve this, a configuration attribute has been added within the Undertow subsystem to allow the use of a configurable cookie to store session affinity information.

      The mod_cluster project should be expanded to support this affinity cookie.

              rhn-engineering-rhusar Radoslav Husar
              rhn-engineering-rhusar Radoslav Husar
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: