Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top
  1. Do weights assigned to servers only effect the balance within that particular backend?
  2. When implementing weights for the first time, if I give all the servers in a backend the same number, would that be the same as before when there we no weights?
  3. How do I calculate just how much traffic I am shiffting by adjust weights by certain amounts. For example:
    server web1 weight 100
    server web2 weight 100
    server web3 weight 90
    server web4 weight 90
share|improve this question
up vote 8 down vote accepted
  1. It should be.

  2. Yes.

    From haproxy config. The "weight" parameter is used to adjust the server's weight relative to other servers. All servers will receive a load proportional to their weight relative to the sum of all weights, so the higher the weight, the higher the load. The default weight is 1, and the maximal value is 256.

  3. It should be proportional as stated in 2.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.