0
0
Azurecloud~10 mins

Traffic Manager routing methods in Azure - Step-by-Step Execution

Choose your learning style9 modes available
Process Flow - Traffic Manager routing methods
User DNS Request
Traffic Manager receives request
Evaluate routing method
Priority?
Weighted?
Performance?
Geographic?
Multivalue?
Subnet?
Return selected endpoint IP to user
User connects to endpoint
Traffic Manager receives a DNS request and selects an endpoint based on the configured routing method, then returns the endpoint IP to the user.
Execution Sample
Azure
User DNS request -> Traffic Manager -> Routing method evaluation -> Endpoint IP returned
This flow shows how Traffic Manager routes user requests based on different routing methods.
Process Table
StepRouting MethodCondition EvaluatedSelected EndpointReason
1PriorityIs highest priority endpoint healthy?Endpoint AEndpoint A is highest priority and healthy
2PriorityIs highest priority endpoint healthy?Endpoint BEndpoint A unhealthy, Endpoint B next priority healthy
3WeightedRandom weighted selectionEndpoint CEndpoint C selected based on weight 70%
4WeightedRandom weighted selectionEndpoint DEndpoint D selected based on weight 30%
5PerformanceMeasure latency from user to endpointsEndpoint BEndpoint B has lowest latency
6GeographicUser IP in Europe region?Endpoint EUser located in Europe region
7MultivalueReturn multiple healthy endpointsEndpoints A, BBoth endpoints healthy, returned together
8SubnetUser IP in subnet 10.0.0.0/24?Endpoint FUser IP matches subnet assigned to Endpoint F
9EndNo more routing decisionsN/ARouting complete, endpoint IP returned
💡 Routing method selects endpoint based on health and method rules; process ends after endpoint IP is returned.
Status Tracker
VariableStartAfter Step 1After Step 2After Step 3After Step 4After Step 5After Step 6After Step 7After Step 8Final
Selected EndpointNoneEndpoint AEndpoint BEndpoint CEndpoint DEndpoint BEndpoint EEndpoints A, BEndpoint FEndpoint F
Key Moments - 3 Insights
Why does Traffic Manager choose Endpoint B in step 2 instead of Endpoint A?
Because Endpoint A is unhealthy at that time, so Traffic Manager selects the next highest priority healthy endpoint, Endpoint B, as shown in execution_table row 2.
How does the Weighted routing method decide which endpoint to select?
It uses random selection weighted by configured percentages. For example, Endpoint C has 70% weight and Endpoint D 30%, so Endpoint C is more likely selected, as shown in rows 3 and 4.
What happens if multiple endpoints are healthy in Multivalue routing?
Traffic Manager returns multiple healthy endpoints together to the user, allowing client-side load balancing, as shown in row 7.
Visual Quiz - 3 Questions
Test your understanding
Look at the execution_table, which endpoint is selected at step 5 using Performance routing?
AEndpoint A
BEndpoint B
CEndpoint C
DEndpoint D
💡 Hint
Check execution_table row 5 under Selected Endpoint column.
At which step does Traffic Manager return multiple endpoints together?
AStep 7
BStep 6
CStep 3
DStep 8
💡 Hint
Look for Multivalue routing in execution_table and see which step returns multiple endpoints.
If Endpoint A becomes healthy again, which step would select it in Priority routing?
AStep 2
BStep 4
CStep 1
DStep 6
💡 Hint
Priority routing selects highest priority healthy endpoint as in step 1.
Concept Snapshot
Traffic Manager routes user DNS requests to endpoints based on routing methods:
- Priority: chooses highest priority healthy endpoint
- Weighted: selects endpoint randomly by weight
- Performance: chooses lowest latency endpoint
- Geographic: routes by user location
- Multivalue: returns multiple healthy endpoints
- Subnet: routes by user IP subnet
Each method evaluates health and rules before returning endpoint IP.
Full Transcript
Traffic Manager receives a DNS request from a user. It evaluates the configured routing method to decide which endpoint to send the user to. For Priority routing, it picks the highest priority endpoint that is healthy. If that endpoint is unhealthy, it picks the next priority. Weighted routing randomly selects an endpoint based on assigned weights. Performance routing chooses the endpoint with the lowest latency from the user. Geographic routing selects an endpoint based on the user's location. Multivalue routing returns multiple healthy endpoints to the user. Subnet routing selects an endpoint based on the user's IP subnet. After selecting the endpoint, Traffic Manager returns its IP address to the user, who then connects to that endpoint. This process ensures users are routed efficiently and reliably based on the chosen method.