Sticky Resource Affinity

When a target operation group type is configured as Sticky Resource Affinity, the Core Engine distributes the client requests between the target operations in the target operations group based on the information such as the sticky key. When the Core Engine routes a client request to a target operation group of the Sticky Resource Affinity type, the target operation is selected based on the value of a sticky key.

Define a sticky key to route the facade operation request to a specific target operation. See Defining and Configuring Sticky Key for details.

For the SG1 target operation group with Sticky Resource Affinity type, consider the following configuration:

For this scenario, the Core Engine processes the client requests as follows:

Defining and Configuring Sticky Key

To use the Sticky Resource Affinity routing algorithm, define a sticky routing key. The sticky routing key is derived in a XSLT transformation file as part of the parsing step in the request processing pipeline of a facade operation. You can upload the XSLT file for a facade operation configuration in the Config UI. The Core Engine retrieves the sticky key from the transformation. See StickyResourceAffinity Target Operation Group Configuration.