为 Google Cloud App Engine 柔性环境指定区域
Specify Zone for Google Cloud App Engine Flexible Environment
问题:
有没有办法为 Google Cloud App Engine 柔性环境指定驻留区域?如果没有,有哪些替代方案?
上下文:
我有一个使用 App Engine 写入和读取 Bigtable 的设置。但是我注意到性能下降,在调试过程中,我发现 documentation from Google 声明:
There are issues with the network connection. Network issues can reduce throughput and cause reads and writes to take longer than usual. In particular, you'll see issues if your clients are not running in the same zone as your Cloud Bigtable cluster.
就我而言,我的客户位于不同的区域,通过将其移动到同一区域,性能有了巨大的提高。但是性能问题仍然存在,文档中的建议是将客户端与Bigtable放在同一个区域。
我还考虑过使用 Container Engine 或 Compute Engine,因为它更容易指定区域,但我想继续使用 App Engine,因为它具有自动缩放功能和托管服务。
App Engine 是一项区域服务:
App Engine is regional, which means the infrastructure that runs your
apps is located in a specific region and is managed by Google to be
redundantly available across all the zones within that region.
摘自 here.
您确实可以使用 GKE 或 GCE,虽然您是对的,它们不像 App Engine 那样是托管服务,但它们都支持自动缩放。
问题: 有没有办法为 Google Cloud App Engine 柔性环境指定驻留区域?如果没有,有哪些替代方案?
上下文: 我有一个使用 App Engine 写入和读取 Bigtable 的设置。但是我注意到性能下降,在调试过程中,我发现 documentation from Google 声明:
There are issues with the network connection. Network issues can reduce throughput and cause reads and writes to take longer than usual. In particular, you'll see issues if your clients are not running in the same zone as your Cloud Bigtable cluster.
就我而言,我的客户位于不同的区域,通过将其移动到同一区域,性能有了巨大的提高。但是性能问题仍然存在,文档中的建议是将客户端与Bigtable放在同一个区域。
我还考虑过使用 Container Engine 或 Compute Engine,因为它更容易指定区域,但我想继续使用 App Engine,因为它具有自动缩放功能和托管服务。
App Engine 是一项区域服务:
App Engine is regional, which means the infrastructure that runs your apps is located in a specific region and is managed by Google to be redundantly available across all the zones within that region.
摘自 here.
您确实可以使用 GKE 或 GCE,虽然您是对的,它们不像 App Engine 那样是托管服务,但它们都支持自动缩放。