Hey folks-

I'd like to update the parent.config documentation to include the
weightings feature -- there is an example that shows it, but no text
that describes it.  So, I have some questions :)

- I assume that if someone includes a weight for each parent, the
round robin=true turns into weighted round robin. I'd guess that ATS
will sum the weighted values of all the parents, then send each parent
(its value)/(sum of weights) of the traffic. True? In the example
(p1.x.com:8080|1.0; p2.y.com:8080|2.0), would p1 get 1/3 of the
traffic, and p2 would get the remaining 2/3rds?

- In 
https://docs.trafficserver.apache.org/en/latest/admin-guide/files/parent.config.en.html#examples
, there is an example that has a weighting, even though the selection
strategy is consistent hash. How does that work? Do the parents just
get added to the ring that percentage more time? Like in the example,
p1 gets added to the ring 1 time, and p2 gets added 2 times?

- Does the weighting affect round_robin=strict and latched?

- Is there a max value to the weighting? Anything special about the
decimal (for instance, is there a limit to the precision?)

Also, what is the difference between round_robin=true and round_robin=strict?

thanks!

miles

Reply via email to