I have a Website in Azure in multiple Regions. Each Region hast besides the webservers also a storage account because the users can upload files.
I'm currently using Traffic Manager to redirect the user to the best Region. But i'm not very happy with it... it does not support session affinity for example. I could use the Application Gateway for that but that is also not really what i want beacause with the Application Gateway it could also happen that in Session1 the user lands on Region1 and in Session2 he lands on Region2. The users would upload files in Region1 and 2 and i would have to transfer them between the regions each time the user lands on a differnt region.
Therefore i would like to create my own Traffic manager. I would create a cloudservice with a webserver in it which uses a custom arr rewrite provider and redirects the user based on his geoip.
The only thing i'm concerned of is the throughput... If i understand the Reverse Proxy correctly all the Traffic of all websites in all regions will go through this proxy. The websites have streaming possibilities too and we are heavily using websockets for communication between client and server.
Is this approach with the custom arr even scaleable? If all the traffic goes through this one cloudservice? I believe i can create multiple webservers which handle the arr requests but what is for example with latency issues?
If my traffic manager cloudservice is for example in north europe and then comes a user from brazil. We have a region in brazil but if all the traffic goes through the proxy in northeurope then the latency would be catastrophic i guess and all the benefit of having a Region in Brazil would be gone.
In short: i want to redirect users to a specific region in azure based on their geoip and keep the whole thing scaleable and as much performant as possible :). What would be the best approach for that?
Thanks for your help! BR, Metabolic