To create a type of server affinity where all operations from a single client are routed to a specific set of servers, follow a similar process as in the previous task, but configure connection criteria instead of request criteria. These connection criteria identify clients that could be impacted by replication latency. These clients use the failover load-balancing algorithm rather than the default fewest operations load-balancing algorithm.
For example, an administrative tool includes a delete user
function. If
the application immediately re-queries the directory for an updated list of users, the
just-deleted entry must not be included.
To configure a criteria-based load balancing algorithm: