gpt4 book ai didi

azure - 区域选择如何影响 Azure 静态 Web 应用上的 NextJS 应用程序

转载 作者:行者123 更新时间:2023-12-03 03:32:08 26 4
gpt4 key购买 nike

最近我在 Azure 静态 Web 应用程序上测试了 NextJS SSR。看起来很有希望。

我在文档中找不到的唯一内容是区域选择如何影响这种情况下的性能。 enter image description here

我假设 NextJS SSR 已转换为 Azure Function,我什至可以在门户中看到线索:

enter image description here

这个函数到底在哪里运行?我在创建静态 Web 应用程序时选择在数据中心还是在边缘服务器上?不幸的是,官方文档对于此类内部结构非常简洁。

最佳答案

The only thing that I can't find in the docs is how Region selection affects performance in this case.

据我所知,静态 Web 应用程序分布在全局范围内。它不会影响性能。根据Ms-Doc Azure 静态应用程序分布在全局范围内。您可以在部署时选择部署托管Azure Function App的区域。

If you need your Functions app in a region that doesn't support managed functions, you can use the Bring your own Functions app feature with a Functions app you deploy separately.

将应用程序部署到 Azure 时,您可以选择要部署的区域。 enter image description here

关于azure - 区域选择如何影响 Azure 静态 Web 应用上的 NextJS 应用程序,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/74482254/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com