@Nibbler ,
Welcome to the Microsoft Q&A Platform. Thank you for reaching out & I hope you are doing well.
I understand that you would like to understand how AFD Traffic routing methods work.
We should follow the Overall decision flow chart
1.How will traffic be distributed?
- Available origins : A and B are available, so both A and B are selected
- Priority : A and B have same priority of 1, so both A and B are selected
- Latency signal (based on health probe) :
- Let us assume Latency sensitivity of 0 (0 is highly unlikely, but we shall go with it for this example) and origin group's latency sensitivity is set to 30 ms.
- Since 0ms is less than 30ms, both A and B are selected.
- Weights: A and B both have a weight of 1000.
- This means, the total is 2000 (A+B)
- And then traffic distributed to A is 1000/2000 (A/Total) , which is 1/2
- And traffic distributed to B is 1000/2000 (B/Total) , which is 1/2
i.e., Traffic is distributed equally across A and B
2.If A becomes unhealthy,
- Available origins : Since A is unhealthy, only B is selected
- Since there is only one Origin now, no need for further validation.
i.e., 100% Traffic is routed to B
Kindly let us know if this helps or you need further assistance on this issue.
Thanks,
Kapil
Please don’t forget to close the thread by clicking "Accept the answer" wherever the information provided helps you, as this can be beneficial to other community members.