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

Change the algorithm for distributing requests

  1. In the dashboard, on the top menu, click Products and select Cloud Servers.

  2. Go to BalancersTarget Groups tab.

  3. Open the landing page.

  4. In the Algorithm row, click .

  5. Choose an algorithm:

    • Round Robin is a round robin algorithm. The first request is passed to one server, the next request is passed 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.
  6. Optional: To enable the Sticky Sessions method, in the Sticky Sessions row, click , check the Sticky S essions checkbox, and select a session ID. For the APP-cookie session ID, enter a cookie name.