Which loadbalancing Algorithm(s) are used in AEM Dispatcher ?

Accepted Solutions (1)

Accepted Solutions (1)

Answers (1)

Answers (1)

jbrar
Employee
05-11-2019

Also, you can change the load balancing process by defining some statistics,unavailablePenalty and

stickyConnectionsFor

/statistics section defines categories of files for which Dispatcher scores the responsiveness of each render. Dispatcher uses the scores to determine which render to send a request.

Each category that you create defines a glob pattern. Dispatcher compares the URI of the requested content to these patterns to determine the category of the requested content:

  • The order of the categories determines the order in which they are compared to the URI.

  • The first category pattern that matches the URI is the category of the file. No more category patterns are evaluated.

The /unavailablePenalty property sets the time (in tenths of a second) that is applied to the render statistics when a connection to the render fails. Dispatcher adds the time to the statistics category that matches the requested URI.

The /stickyConnectionsFor property defines one folder that contains sticky documents; this will be accessed using the URL. Dispatcher sends all requests, from a single user, that are in this folder to the same render instance. Sticky connections ensure that session data is present and consistent for all documents. This mechanism uses the

renderid

cookie.

More details at [1]

[1] Configuring Dispatcher