DNS resolution flow: Part 2 - Routing traffic to nearest web server
Naveen Rai
LMTS (Staff) @ Salesforce| Ex-Microsoft | Designing scalable system | Java, Spring boot, c#, go, React | Azure
In Last article (DNS resolution flow: Part 1 - User accessing web server hosted at Azure), we discussed how DNS resolution is done when there is single server deployed to a region. Consider the web server hosting the web site grows popularity and users from different regions also accessing it with more latency than user from same region. And, the reason is simple, each access request has to travel across regions.
To address the performance issue, web site is now deployed to other regions as well (say US and Europe) and Azure traffic manager is used to route the traffic based upon the routing method.
URL of different services involved
Since there are two Web Server (Using Azure App Service) deployed at two different locations:
Traffic Manager Configuration
Traffic Manager Endpoints needs to be configured. Refer here to know more
* US Location : https://learningwebapp-1.azurewebsites.net
* Europe Location : https://learningwebapp-2.azurewebsites.net
Understand flow in detail
References
https://docs.microsoft.com/en-us/azure/traffic-manager/traffic-manager-how-it-works
Thank you so much for reading. If you learn anything new, kindly share with your friends, colleagues and follow?me?.
Lets together learn amazing stuff and feel free to give comments/suggestions. Thanks again!