I have the following setup:
|--------------------- Internet -------------------------|
WebApp <---- non-vNet traffic ----> Azure SQL Db
WebApp
and Azure SQL Db
are in the same data centre. Azure SQL Db
and WebApp
WebApp
is a DNS name for Azure SQL Db
(eg mydatabase.database.windows.net
), so it's resolving to an external IP. |----------------------- vNet -----------------------------|
WebApp <---- vNet traffic ----> Azure SQL Server
If anything you'll probably get worse latency given the Web App has to do SSTP (point-to-site VPN) to reach that VNET. You'll need to bench both setups but i wouldn't bother.
What i would bother with is adding a caching layer if you don't already have one, in-process or distributed (Redis). Now, that's going to be a dramatic change of events for your fetch latency.
We can definitely deploy the web app inside a VNET using the azure app service environment instead of hosting it in a app service plan.
This is appropriate for application workloads that require:
More info here - https://docs.microsoft.com/en-us/azure/app-service/environment/
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.