Azure SQL managed instance and API planing and designing questions to fix the latency issue.

Arunkumar Babu 0 Reputation points
2026-06-25T20:58:49.91+00:00

I have an application hosted in a single location, but due to latency concerns, the Azure SQL Managed Instance databases are deployed across three regions: the US, India, and Europe. Each region has its own dedicated database. When a user performs operations such as insert, update, or delete, how does the application determine the user’s region and route the transaction to the appropriate regional database?

Azure SQL Database

1 answer

Sort by: Most helpful
  1. Erland Sommarskog 135.1K Reputation points MVP Volunteer Moderator
    2026-06-25T22:50:06.08+00:00

    Is that an application in Azure App Service, or something on-prem? If the application is hosted in a single place, what's the point with having three different instances? Do the users also connect to the database by other means?

    My naïve thinking is that when the user connects, you look up the user in a database (which could be a small Azure SQL Database), and you get the connection option for that user from that database. This assumes that you know all your users beforehand. If you don't, you would need to find a way to trace where they are coming from. That may be trivial or impossible depending on the situation. Maybe you need to ask them the first time they connect. (The reason I say that it may be trivial or impossible is because I don't know what users we are talking about. Users in a corporate organisation? Users from the public internet? Something else?)

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.