CareerByteCode’s Substack

CareerByteCode’s Substack

Tech Queries

Optimizing DNS Resolution for Balanced Traffic in Azure Traffic Manager

Advanced Techniques for Controlling Traffic Flow in Azure Traffic Manager

CareerByteCode's avatar
CareerByteCode
Aug 24, 2024
∙ Paid
1
Share

We built a traffic manager with a weight routing method (former round robin mode), and configured two endpoints with the same weight value.

We expected that the traffic would be evenly distributed to two endpoints. But actually, we saw one endpoint get much more traffic than another one.

We then checked the "automation script" of traffic manager on portal and found this:

{
    "name": "test1",
    "type": "Microsoft.Network/trafficManagerProfiles/externalEndpoints",
    "properties": {
        "endpointStatus": "Enabled",
        "target": "www.abc.com",
        "weight": 1,
        "priority": 1,
        "endpointLocation": null
    }
},
{
    "name": "test2",
    "type": "Microsoft.Network/trafficManagerProfiles/externalEndpoints",
    "properties": {
        "endpointStatus": "Enabled",
        "target": "www.xyz.com",
        "weight": 1,
        "priority": 2,
        "endpointLocation": null
    }
}

There is "priority" in the above template, what priority mean in weight routing mode? Will this setting affect the traffic routing?

How to resolve the above issue ?

Keep reading with a 7-day free trial

Subscribe to CareerByteCode’s Substack to keep reading this post and get 7 days of free access to the full post archives.

Already a paid subscriber? Sign in
© 2025 CareerByteCode
Publisher Privacy
Substack
Privacy ∙ Terms ∙ Collection notice
Start writingGet the app
Substack is the home for great culture