Help Center> Elastic Load Balance> FAQs> Load Balancing Performance> How Do I Check If Traffic Is Being Evenly Distributed?
Updated on 2023-05-18 GMT+08:00

How Do I Check If Traffic Is Being Evenly Distributed?

  1. Check whether sticky sessions are enabled. If sticky sessions are enabled and there are few clients, traffic may be unevenly distributed.
  2. Check the health of backend servers, especially those whose health changes over time. If a backend server is Unhealthy or its health switches between Healthy and Unhealthy, traffic is unbalanced.
  3. Check whether the Source IP hash algorithm is used. If the algorithm is used, requests sent from the same IP address are routed to the same backend server, resulting in unbalanced traffic.
  4. Check whether applications on the backend server use keepalive to maintain TCP persistent connections. If keepalive is used, traffic may be unbalanced because the number of requests on persistent connections is different.
  5. Check whether different weights are assigned to backend servers. The traffic varies according to the weights.

Generally, in addition to the load balancing algorithm, factors that affect load balancing include connection type, session stickiness, and server weights.

Load Balancing Performance FAQs

more