Skip to main content
Change the algorithm for distributing requests
Last update:

Change the algorithm for distributing requests

  1. В control panels go to Cloud platformBalancers.

  2. Open the tab Target groups → landing page.

  3. On the line Algorithm click .

  4. Choose an algorithm:

    • Round Robin is a round robin algorithm. The first request is passed to one server, the next request to another and so on until the last server is reached. Then the cycle starts again. Requests are distributed to servers according to the specified weight.
    • Least connections — the algorithm takes into account the number of connections to servers. A new request is passed to the server with the smallest number of active connections, the server weight is not taken into account.
  5. Optional: to enable the method Sticky Sessions on the line Sticky Sessions click and check the box Sticky Sessions and select a session ID. For the APP-cookie session ID, enter a cookie name.