Equal counts, weighted shares, and stable affinity express different routing policies.

Choose an nginx balancing method by the decision it actually makes

An upstream group names candidate backend endpoints, and its balancing method chooses among eligible peers. Round robin distributes selections by weight; least connections considers active connections and weights; hash methods use a selected key for affinity. These decisions describe routing policy. They do not automatically measure CPU utilization, guarantee equal response times, or make local session state durable when a peer disappears. ...

May 18, 2027 · 6 min · XB Field Notes