google-app-engine - locationId "europe-west"代表比利时还是欧盟的多区域?

标签 google-app-engine google-cloud-datastore

  1. 在 Google Cloud Console 中创建新项目
  2. 在空的云数据存储中创建一个新实体。当提示输入位置时,选择 europe-west,根据 Cloud Datastore Locations代表欧洲的多区域

    推理:

    maximize the availability and durability of your database. Multi-region locations can withstand loss of entire regions and maintain availability without data loss. In the Cloud Datastore Service Level Agreement, multi-region locations define a higher monthly uptime percentage than regional locations.

  3. 接下来,创建新的 Google App Engine(标准环境)应用并将其部署到同一项目中。

    Cloud Datastore Locations还解释了:

    The location setting for your Google Cloud Platform project applies to both Cloud Datastore and App Engine.

    不过,App Engine 是一种区域性资源。

对于这个项目,命令

gcloud app describe

将返回

locationId: europe-west

根据App Engine Locationseurope-west 代表比利时地区,而​​ Cloud Datastore 告诉我 europe-west 是欧洲的多区域位置。比利时奥托赫未明确列为 Cloud Datastore 的(区域)位置。

问题

locationId: europe-west 是否指的是比利时,并且比利时也是欧洲的多区域位置(适用于 Cloud Datastore,但不适用于 App Engine)?

奖励问题

如果假设正确:这是否意味着当比利时位置丢失时,客户端仍然可以访问 Cloud Datastore(因为它已复制到另一个区域),但不能访问相应的 App Engine 应用?

最佳答案

对于 Cloud Datastore,欧洲-西部是指我们的比利时-芬兰-荷兰多区域(尽管这可能会发生变化)。

是的,如果比利时区域丢失,您仍然可以从其他云区域的 Cloud Datastore 读取/写入 - 假设您在那里有一个计算层。

关于google-app-engine - locationId "europe-west"代表比利时还是欧盟的多区域?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50239525/

相关文章:

python - 基于子域路由的 Flask 应用程序

java - 如何设置具有 JSF 2.2、JPA 2.0 和依赖注入(inject)功能的 Google AppEngine Web 应用程序?

google-app-engine - 谷歌应用引擎上的大量 http 请求出现 "reached maximum number of connections"错误

java - 如何知道 Google AppEngine HRD 数据存储更新何时完成?

python-3.x - 错误值错误 : Unsupported type for property <type 'datetime.date' >

android - 如何通过 Android 应用更新/修改现有实体(在 Google 应用引擎上存储为 JSON 对象)

google-app-engine - 在 GAE 上启动 AmazonS3Client 会抛出 NoClassDefFoundError

python - Google App Engine ndb 查询

google-app-engine - 数据存储区查询在排序结果时不返回任何数据

python - 如何将数据存储到数据存储区 - AppEngine