Can i deploy Traffic Manager behind Azure Front Door?

Sai Kiran Maturi 41 Reputation points
2023-10-11T19:10:21.43+00:00

I want to implement Geographic based routing to our application, Such that any user's request will route to nearest most location available. So that i'm thinking to Configure Traffic Manager behind already configured Azure Front Door to our application. Let's say my app service is in EAST US, any user from South India Location, the non-cached content has to definitely travel to EAST US, so there will be a little bit of latency. The "Ultimate aim of my task is to eliminate that latency to increase Performance". But i'm confused How the underlying Architecture Works.

Azure Front Door
Azure Front Door
An Azure service that provides a cloud content delivery network with threat protection.
622 questions
Azure Traffic Manager
Azure Traffic Manager
An Azure service that is used to route incoming network traffic for high performance and availability.
111 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,259 questions
{count} votes

Accepted answer
  1. ChaitanyaNaykodi-MSFT 24,231 Reputation points Microsoft Employee
    2023-10-11T22:39:30.7933333+00:00

    @Sai Kiran Maturi

    Thank you for reaching out.

    If I understand correctly you want to implement a geographic-based routing to your application using Traffic Manager behind Azure Front Door.

    Actually, it is not a best practice to combine Traffic Manager and Front Door together. For most solutions, you should use either Front Door or Azure Traffic Manager, but not both. Traffic Manager is a DNS-based load balancer. It sends traffic directly to your origin's endpoints. In contrast, Front Door terminates connections at points of presence (PoPs) near to the client and establishes separate long-lived connections to the origins. The products work differently and are intended for different use cases. This is currently documented here.

    As your "Ultimate aim of my task is to eliminate that latency to increase Performance" I think just using Azure FrontDoor will better as it provides content caching and delivery (CDN) which will help reduce latency.

    I understand that Front Door will reach out to the origin for the data, which is not cached, in this case it will help if you could create another instance of your web app in the South India region. You can add this web-app as a backend to your Front Door something similar to this tutorial here where the configuration uses equal weighted and same priority backends, which means that Azure Front Door directs traffic to the closest available site that hosts the application. This will help reduce latency.

    To implement Lowest latencies-based traffic-routing using Front Door you can deploy origins in two or more locations across the globe which will improve the responsiveness of your applications by routing traffic to the destination that is 'closest' to your end users. Latency is the default traffic-routing method for your Front Door configuration. This routing method forwards requests from your end users to the closest origin behind Azure Front Door. This routing mechanism combined with the anycast architecture of Azure Front Door ensures that each of your end users gets the best performance based on their location. You can find more information here on how traffic is distributed between different origins in Azure Front Door.

    Hope this helps! Please let me know if you have any additional questions. Thank you!


    ​​Please "Accept the answer" if the information helped you. This will help us and others in the community as well.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful