Load balancing | Weighted
Hello guys
It says here:
https://help.fortinet.com/fos50hlp/52data/Content/FortiOS/fortigate-load-balancing-52/ldb.htm
Enter the weight value of the real server. The higher the weight value, the higher the percentage of connections the server will handle. A range of 1‑255 can be used. This option is available only if the associated virtual server’s load balance method is Weighted
So what is the difference between setting this way:
config realservers
edit 1
set ip 10.31.101.30
set weight 100
set max-connections 10000
next
edit 2
set ip 10.31.101.40
set weight 100
set max-connections 10000
next
edit 3
set ip 10.31.101.50
set weight 10
end
And setting this way:
config realservers
edit 1
set ip 10.31.101.30
set weight 20
set max-connections 10000
next
edit 2
set ip 10.31.101.40
set weight 20
set max-connections 10000
next
edit 3
set ip 10.31.101.50
set weight 5
end
I mean what is difference between setting 100/100/10 and 20/20/5
Does the number means number of connections ? is it like ratio load balancing ?
